Interface SupportsResetLocationServiceOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsResetLocationServiceOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringRESET_LOCATION_SERVICE_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.Boolean>doesResetLocationService()Get whether to reset the location service in the session deletion on real device.default TresetLocationService()Set to reset the location service in the session deletion on real device.default TsetResetLocationService(boolean value)Whether reset the location service in the session deletion on real device.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
RESET_LOCATION_SERVICE_OPTION
static final java.lang.String RESET_LOCATION_SERVICE_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
resetLocationService
default T resetLocationService()
Set to reset the location service in the session deletion on real device.- Returns:
- self instance for chaining.
-
setResetLocationService
default T setResetLocationService(boolean value)
Whether reset the location service in the session deletion on real device. Defaults to false.- Parameters:
value- Whether to reset the location service in the session deletion on real device.- Returns:
- self instance for chaining.
-
doesResetLocationService
default java.util.Optional<java.lang.Boolean> doesResetLocationService()
Get whether to reset the location service in the session deletion on real device.- Returns:
- True or false.
-
-