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 |
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.
|
T |
withUploadOptions(ScreenRecordingUploadOptions uploadOptions)
The remotePath upload option is the path to the remote location,
where the resulting video should be uploaded.
|
public T withUploadOptions(ScreenRecordingUploadOptions uploadOptions)
withUploadOptions
in class BaseScreenRecordingOptions<BaseStartScreenRecordingOptions<T extends BaseStartScreenRecordingOptions<T>>>
uploadOptions
- see the documentation on ScreenRecordingUploadOptions
for more details.public T withTimeLimit(java.time.Duration timeLimit)
timeLimit
- The actual time limit of the recorded video.public T enableForcedRestart()
public java.util.Map<java.lang.String,java.lang.Object> build()
BaseScreenRecordingOptions
build
in class BaseScreenRecordingOptions<BaseStartScreenRecordingOptions<T extends BaseStartScreenRecordingOptions<T>>>