RecorderSettings

data class RecorderSettings(val location: Location? = null, val filePath: String? = null, val maxDuration: Duration? = null, val maxFileSize: Long? = null)

Settings of a Recorder, see CameraVideoOutput.createRecorder.

Constructors

Link copied to clipboard
constructor(location: Location? = null, filePath: String? = null, maxDuration: Duration? = null, maxFileSize: Long? = null)

Properties

Link copied to clipboard

The absolute filesystem path (including file name and extension) to record to, or null to record to a temporary file. Missing parent directories are created.

Link copied to clipboard

The Location to embed in the video's metadata (ISO-6709).

Link copied to clipboard

If set, the recording stops by itself once it reaches this duration.

Link copied to clipboard

If set, the recording stops by itself once the file reaches this size, in bytes.