Skip to content

library / dev.bmcreations.scrcast.config / Options

Options

data class Options :Parcelable

An immutable data object representing the Available configuration options for storage, recording, and providing user interaction with the screen recording.

See Also

ScrCast.options

Constructors

Name Summary
<init> An immutable data object representing the Available configuration options for storage, recording, and providing user interaction with the screen recording.Options(video:VideoConfig= VideoConfig(), storage:StorageConfig= StorageConfig(), notification:NotificationConfig= NotificationConfig(), moveTaskToBack:Boolean= false, startDelayMs:Long= 0, stopOnScreenOff:Boolean= false)

Properties

Name Summary
moveTaskToBack If the activity task should be moved the back once video starts recording. Defaults to false.val moveTaskToBack:Boolean
notification val notification:NotificationConfig
startDelayMs The time (in milliseconds) to delay the recording after calling ScrCast.record.val startDelayMs:Long
stopOnScreenOff If enabled, any current in-progress recording session will be ending once the device screen is turned off.val stopOnScreenOff:Boolean
storage val storage:StorageConfig
video val video:VideoConfig