public class AndroidStartScreenRecordingOptions extends BaseStartScreenRecordingOptions<AndroidStartScreenRecordingOptions>
Constructor and Description |
---|
AndroidStartScreenRecordingOptions() |
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.
|
AndroidStartScreenRecordingOptions |
enableBugReport()
Makes the recorder to display an additional information on the video overlay,
such as a timestamp, that is helpful in videos captured to illustrate bugs.
|
static AndroidStartScreenRecordingOptions |
startScreenRecordingOptions() |
AndroidStartScreenRecordingOptions |
withBitRate(int bitRate)
The video bit rate for the video, in megabits per second.
|
AndroidStartScreenRecordingOptions |
withTimeLimit(java.time.Duration timeLimit)
The maximum recording time.
|
AndroidStartScreenRecordingOptions |
withVideoSize(java.lang.String videoSize)
The video size of the generated media file.
|
enableForcedRestart, withUploadOptions
public static AndroidStartScreenRecordingOptions startScreenRecordingOptions()
public AndroidStartScreenRecordingOptions withBitRate(int bitRate)
bitRate
- The actual bit rate (Mb/s).public AndroidStartScreenRecordingOptions withVideoSize(java.lang.String videoSize)
videoSize
- The actual video size: WIDTHxHEIGHT.public AndroidStartScreenRecordingOptions enableBugReport()
public AndroidStartScreenRecordingOptions withTimeLimit(java.time.Duration timeLimit)
withTimeLimit
in class BaseStartScreenRecordingOptions<AndroidStartScreenRecordingOptions>
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<AndroidStartScreenRecordingOptions>