Interface SupportsUnlockTypeOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
EspressoOptions
,UiAutomator2Options
public interface SupportsUnlockTypeOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
UNLOCK_TYPE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getUnlockType()
Get the unlock type.default T
setUnlockType(java.lang.String unlockType)
Set one of the possible types of Android lock screens to unlock.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
UNLOCK_TYPE_OPTION
static final java.lang.String UNLOCK_TYPE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setUnlockType
default T setUnlockType(java.lang.String unlockType)
Set one of the possible types of Android lock screens to unlock. Read the [Unlock tutorial](https://github.com/appium/appium-android-driver/blob/master/docs/UNLOCK.md) for more details.- Parameters:
unlockType
- One of possible unlock types.- Returns:
- self instance for chaining.
-
getUnlockType
default java.util.Optional<java.lang.String> getUnlockType()
Get the unlock type.- Returns:
- Unlock type.
-
-