RecordingOptions

data class RecordingOptions(val enabled: Boolean = true, val bitrate: Int, val scale: Float = 0.75f, val keepOnSuccess: Boolean = false, val startDelay: Long = 500, val stopDelay: Long = 1000, val continueDelay: Long = 250, val orientation: RecordingOrientation = RecordingOrientation.NATURAL)

See more information here

Parameters

enabled

true if screen recording should start for the test. Default: true

bitrate

the bitrate of the video file. Default: 16 mbps

scale

the video scale in relation to the original display size. Default: 75% of the screen resolution

keepOnSuccess

true if the recording should be kept if the test passes, false if it should be deleted

startDelay

the minimum amount of time to wait after the recording starts. Default: 500ms

stopDelay

the minimum amount of time to wait before the recording should be stopped. Default: 1 second

continueDelay

the minimum amount of time to wait before continuing to the recording of a next test Default: 250ms

orientation

the orientation of the screen recording. Default: RecordingOrientation.NATURAL

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, bitrate: Int, scale: Float = 0.75f, keepOnSuccess: Boolean = false, startDelay: Long = 500, stopDelay: Long = 1000, continueDelay: Long = 250, orientation: RecordingOrientation = RecordingOrientation.NATURAL)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val continueDelay: Long = 250
Link copied to clipboard
val enabled: Boolean = true
Link copied to clipboard
val keepOnSuccess: Boolean = false
Link copied to clipboard
Link copied to clipboard
val scale: Float = 0.75f
Link copied to clipboard
val startDelay: Long = 500
Link copied to clipboard
val stopDelay: Long = 1000