VideoCaptureScope


@CameraXDsl
class VideoCaptureScope<T : VideoOutput> : InteropConfigurableScope


Scope class for VideoCapture configuration DSL.

Summary

Public properties

DynamicRange

Sets or gets the dynamic range for this use case.

Boolean

Sets or gets whether video stabilization is enabled for this use case.

Int

Sets or gets the mirror mode for this use case.

Range<Int>

Sets or gets the target frame rate range for this use case.

String

Sets or gets the target name for this use case configuration.

Int

Sets or gets the target rotation for this use case.

Public properties

dynamicRange

Added in 1.7.0-rc01
var dynamicRange: DynamicRange

Sets or gets the dynamic range for this use case.

See also
setDynamicRange

isVideoStabilizationEnabled

Added in 1.7.0-rc01
var isVideoStabilizationEnabled: Boolean

Sets or gets whether video stabilization is enabled for this use case.

mirrorMode

Added in 1.7.0-rc01
var mirrorMode: Int

Sets or gets the mirror mode for this use case.

See also
setMirrorMode

targetFrameRate

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

Sets or gets the target frame rate range for this use case.

targetName

Added in 1.7.0-rc01
var targetName: String

Sets or gets the target name for this use case configuration.

See also
setTargetName

targetRotation

Added in 1.7.0-rc01
var targetRotation: Int

Sets or gets the target rotation for this use case.