VideoCaptureScope


@CameraXDsl
class VideoCaptureScope<T : VideoOutput> : InteropConfigurableScope


Scope class for VideoCapture configuration DSL.

Summary

Public properties

DynamicRange

Sets the dynamic range for this use case.

Boolean

Sets whether video stabilization is enabled for this use case.

Int

Sets the mirror mode for this use case.

Range<Int>

Sets the target frame rate range for this use case.

String

Sets the target name for this use case configuration.

Int

Sets the target rotation for this use case.

Public properties

dynamicRange

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var dynamicRange: DynamicRange

Sets the dynamic range for this use case.

See also
setDynamicRange

isVideoStabilizationEnabled

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var isVideoStabilizationEnabled: Boolean

Sets whether video stabilization is enabled for this use case.

mirrorMode

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var mirrorMode: Int

Sets the mirror mode for this use case.

See also
setMirrorMode

targetFrameRate

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetFrameRate: Range<Int>

Sets the target frame rate range for this use case.

targetName

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetName: String

Sets the target name for this use case configuration.

See also
setTargetName

targetRotation

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetRotation: Int

Sets the target rotation for this use case.