public abstract class BaseStartScreenRecordingOptions<T extends BaseStartScreenRecordingOptions<T>> extends BaseScreenRecordingOptions<BaseStartScreenRecordingOptions<T>>
| Constructor and Description |
|---|
BaseStartScreenRecordingOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Builds a map, which is ready to be passed to the subordinated
Appium API.
|
T |
disableForcedRestart()
Whether to return silently if there is an active video recording.
|
T |
enableForcedRestart()
Whether to ignore the result of previous capture and start a new recording
immediately.
|
T |
withTimeLimit(java.time.Duration timeLimit)
The maximum recording time.
|
withUploadOptionspublic T withTimeLimit(java.time.Duration timeLimit)
timeLimit - The actual time limit of the recorded video.public T enableForcedRestart()
public T disableForcedRestart()
public java.util.Map<java.lang.String,java.lang.Object> build()
BaseScreenRecordingOptionsbuild in class BaseScreenRecordingOptions<BaseStartScreenRecordingOptions<T extends BaseStartScreenRecordingOptions<T>>>