Package io.appium.java_client.android
Interface StartsActivity
-
- All Superinterfaces:
CanRememberExtensionPresence
,ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
public interface StartsActivity extends ExecutesMethod, CanRememberExtensionPresence
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
currentActivity()
Get the current activity being run on the mobile device.default java.lang.String
getCurrentPackage()
Get the current package being run on the mobile device.-
Methods inherited from interface io.appium.java_client.CanRememberExtensionPresence
assertExtensionExists, markExtensionAbsence
-
Methods inherited from interface io.appium.java_client.ExecutesMethod
execute, execute
-
-
-
-
Method Detail
-
currentActivity
@Nullable default java.lang.String currentActivity()
Get the current activity being run on the mobile device.- Returns:
- a current activity being run on the mobile device.
-
getCurrentPackage
@Nullable default java.lang.String getCurrentPackage()
Get the current package being run on the mobile device.- Returns:
- a current package being run on the mobile device.
-
-