public class IOSStartScreenRecordingOptions extends BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>
Modifier and Type | Class and Description |
---|---|
static class |
IOSStartScreenRecordingOptions.VideoQuality |
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 |
withFps(int fps)
The Frames Per Second rate of the recorded video.
|
IOSStartScreenRecordingOptions |
withTimeLimit(java.time.Duration timeLimit)
The maximum recording time.
|
IOSStartScreenRecordingOptions |
withVideoFilters(java.lang.String filters)
The FFMPEG video filters to apply.
|
IOSStartScreenRecordingOptions |
withVideoQuality(IOSStartScreenRecordingOptions.VideoQuality videoQuality)
The video encoding quality (low, medium, high, photo - defaults to medium).
|
IOSStartScreenRecordingOptions |
withVideoScale(java.lang.String videoScale)
The scaling value to apply.
|
IOSStartScreenRecordingOptions |
withVideoType(java.lang.String videoType)
The video codec type used for encoding of the recorded screen capture.
|
enableForcedRestart, withUploadOptions
public static IOSStartScreenRecordingOptions startScreenRecordingOptions()
public IOSStartScreenRecordingOptions withVideoType(java.lang.String videoType)
videoType
- one of available video codec names, for example 'libx264'.public IOSStartScreenRecordingOptions withVideoQuality(IOSStartScreenRecordingOptions.VideoQuality videoQuality)
videoQuality
- one of possible quality preset names.public IOSStartScreenRecordingOptions withFps(int fps)
fps
- frames per second value in range 1..60.public IOSStartScreenRecordingOptions withVideoScale(java.lang.String videoScale)
videoScale
- ffmpeg-compatible scale format specifier.public IOSStartScreenRecordingOptions withTimeLimit(java.time.Duration timeLimit)
withTimeLimit
in class BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>
timeLimit
- The actual time limit of the recorded video.public IOSStartScreenRecordingOptions withVideoFilters(java.lang.String filters)
filters
- One or more filters to apply to the resulting video stream,
for example "transpose=1" to rotate the resulting video 90 degrees clockwise.public java.util.Map<java.lang.String,java.lang.Object> build()
BaseScreenRecordingOptions
build
in class BaseStartScreenRecordingOptions<IOSStartScreenRecordingOptions>