Package io.appium.java_client.android
Interface StartsActivity
-
- All Superinterfaces:
CanRememberExtensionPresence
,ExecutesMethod
- All Known Implementing Classes:
AndroidDriver
,FlutterAndroidDriver
public interface StartsActivity extends ExecutesMethod, CanRememberExtensionPresence
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default @Nullable java.lang.String
currentActivity()
Get the current activity being run on the mobile device.default @Nullable 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
default @Nullable 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
default @Nullable java.lang.String getCurrentPackage()
Get the current package being run on the mobile device.- Returns:
- a current package being run on the mobile device.
-
-