public class WindowsStartScreenRecordingOptions extends BaseStartScreenRecordingOptions<WindowsStartScreenRecordingOptions>
Constructor and Description |
---|
WindowsStartScreenRecordingOptions() |
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.
|
WindowsStartScreenRecordingOptions |
enableClicksCapture()
Whether to capture the click gestures while recording
the screen.
|
WindowsStartScreenRecordingOptions |
enableCursorCapture()
Whether to capture the mouse cursor while recording
the screen.
|
static WindowsStartScreenRecordingOptions |
startScreenRecordingOptions() |
WindowsStartScreenRecordingOptions |
withAudioInput(java.lang.String audioInput)
If provided then the given audio input will be used to record the computer audio
along with the desktop video.
|
WindowsStartScreenRecordingOptions |
withFps(int fps)
The count of frames per second in the resulting video.
|
WindowsStartScreenRecordingOptions |
withPreset(java.lang.String preset)
A preset is a collection of options that will provide a certain encoding speed to compression ratio.
|
WindowsStartScreenRecordingOptions |
withTimeLimit(java.time.Duration timeLimit)
The maximum recording time.
|
WindowsStartScreenRecordingOptions |
withVideoFilter(java.lang.String videoFilter)
The video filter spec to apply for ffmpeg.
|
disableForcedRestart, enableForcedRestart
withUploadOptions
public static WindowsStartScreenRecordingOptions startScreenRecordingOptions()
public WindowsStartScreenRecordingOptions withFps(int fps)
fps
- The actual frames per second value.
The default value is 15.public WindowsStartScreenRecordingOptions enableCursorCapture()
public WindowsStartScreenRecordingOptions enableClicksCapture()
public WindowsStartScreenRecordingOptions withAudioInput(java.lang.String audioInput)
audioInput
- One of valid audio input names listed by ffmpegpublic WindowsStartScreenRecordingOptions withVideoFilter(java.lang.String videoFilter)
videoFilter
- Valid ffmpeg video filter spec string.public WindowsStartScreenRecordingOptions withPreset(java.lang.String preset)
preset
- One of the supported encoding presets. Possible values are:
- ultrafast
- superfast
- veryfast (default)
- faster
- fast
- medium
- slow
- slower
- veryslowpublic WindowsStartScreenRecordingOptions withTimeLimit(java.time.Duration timeLimit)
withTimeLimit
in class BaseStartScreenRecordingOptions<WindowsStartScreenRecordingOptions>
timeLimit
- The actual time limit of the recorded video.public java.util.Map<java.lang.String,java.lang.Object> build()
BaseScreenRecordingOptions
build
in class BaseStartScreenRecordingOptions<WindowsStartScreenRecordingOptions>