public class AndroidTerminateApplicationOptions extends BaseTerminateApplicationOptions<AndroidTerminateApplicationOptions>
Constructor and Description |
---|
AndroidTerminateApplicationOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Creates a map based on the provided options.
|
AndroidTerminateApplicationOptions |
withTimeout(java.time.Duration timeout)
The time to wait until the app is terminated (500ms by default).
|
public AndroidTerminateApplicationOptions withTimeout(java.time.Duration timeout)
timeout
- the actual timeout value. The minimum time resolution
unit is one millisecond.public java.util.Map<java.lang.String,java.lang.Object> build()
BaseOptions
build
in class BaseOptions<AndroidTerminateApplicationOptions>