public class AndroidRemoveApplicationOptions extends BaseRemoveApplicationOptions<AndroidRemoveApplicationOptions>
Constructor and Description |
---|
AndroidRemoveApplicationOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Creates a map based on the provided options.
|
AndroidRemoveApplicationOptions |
withKeepDataDisabled()
Forces uninstall to delete the application data and caches
(the default behavior).
|
AndroidRemoveApplicationOptions |
withKeepDataEnabled()
Forces uninstall to keep the application data and caches.
|
AndroidRemoveApplicationOptions |
withTimeout(java.time.Duration timeout)
The time to wait until the app is removed (20000ms by default).
|
public AndroidRemoveApplicationOptions withTimeout(java.time.Duration timeout)
timeout
- the actual timeout value. The minimum time resolution
unit is one millisecond.public AndroidRemoveApplicationOptions withKeepDataEnabled()
public AndroidRemoveApplicationOptions withKeepDataDisabled()
public java.util.Map<java.lang.String,java.lang.Object> build()
BaseOptions
build
in class BaseOptions<AndroidRemoveApplicationOptions>