PreviewScope


@CameraXDsl
class PreviewScope : InteropConfigurableScope


Scope class for Preview configuration DSL.

Summary

Public properties

DynamicRange

Sets the dynamic range for this use case.

Boolean

Sets whether preview stabilization is enabled for this use case.

Int

Sets the mirror mode for this use case.

ResolutionSelector

Sets the resolution selector 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 dynamicRangeDynamicRange

Sets the dynamic range for this use case.

See also
setDynamicRange

isPreviewStabilizationEnabled

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var isPreviewStabilizationEnabledBoolean

Sets whether preview stabilization is enabled for this use case.

mirrorMode

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var mirrorModeInt

Sets the mirror mode for this use case.

See also
setMirrorMode

resolutionSelector

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var resolutionSelectorResolutionSelector

Sets the resolution selector for this use case.

targetFrameRate

Added in 1.7.0-alpha03
Deprecated in 1.7.0-alpha03
var targetFrameRateRange<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 targetNameString

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 targetRotationInt

Sets the target rotation for this use case.