HighSpeedVideoSessionConfigScope


@CameraXDsl
class HighSpeedVideoSessionConfigScope


Scope class for HighSpeedVideoSessionConfig configuration DSL.

Summary

Public properties

Range<Int>

The desired frame rate range for high-speed video recording.

Boolean

Whether to use auto rotation.

Boolean

Whether to apply slow-motion effects to the recorded video.

Preview?

The Preview use case for displaying a preview during recording.

Public properties

frameRateRange

Added in 1.7.0-rc01
var frameRateRange: Range<Int>

The desired frame rate range for high-speed video recording.

isAutoRotationEnabled

Added in 1.7.0-rc01
var isAutoRotationEnabled: Boolean

Whether to use auto rotation.

isSlowMotionEnabled

Added in 1.7.0-rc01
var isSlowMotionEnabled: Boolean

Whether to apply slow-motion effects to the recorded video.

preview

Added in 1.7.0-rc01
var preview: Preview?

The Preview use case for displaying a preview during recording.