public class IOSStartScreenRecordingOptions extends BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>
| Modifier and Type | Class and Description |
|---|---|
static class |
IOSStartScreenRecordingOptions.VideoQuality |
static class |
IOSStartScreenRecordingOptions.VideoType |
| Constructor and Description |
|---|
IOSStartScreenRecordingOptions() |
| 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.
|
static IOSStartScreenRecordingOptions |
startScreenRecordingOptions() |
IOSStartScreenRecordingOptions |
withTimeLimit(java.time.Duration timeLimit)
The maximum recording time.
|
IOSStartScreenRecordingOptions |
withVideoQuality(IOSStartScreenRecordingOptions.VideoQuality videoQuality)
The video encoding quality (low, medium, high, photo - defaults to medium).
|
IOSStartScreenRecordingOptions |
withVideoType(IOSStartScreenRecordingOptions.VideoType videoType)
The format of the screen capture to be recorded.
|
enableForcedRestart, withUploadOptionspublic static IOSStartScreenRecordingOptions startScreenRecordingOptions()
public IOSStartScreenRecordingOptions withVideoType(IOSStartScreenRecordingOptions.VideoType videoType)
videoType - one of available format names.public IOSStartScreenRecordingOptions withVideoQuality(IOSStartScreenRecordingOptions.VideoQuality videoQuality)
videoQuality - one of possible quality preset names.public IOSStartScreenRecordingOptions withTimeLimit(java.time.Duration timeLimit)
withTimeLimit in class BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>timeLimit - The actual time limit of the recorded video.public java.util.Map<java.lang.String,java.lang.Object> build()
BaseScreenRecordingOptionsbuild in class BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>