FocusOptions

data class FocusOptions(val responsiveness: FocusResponsiveness = FocusResponsiveness.SNAPPY, val adaptiveness: SceneAdaptiveness = SceneAdaptiveness.CONTINUOUS, val modes: List<MeteringMode>? = null, val autoResetAfter: Duration? = 5.seconds)

Options for a focus metering operation.

Constructors

Link copied to clipboard
constructor(responsiveness: FocusResponsiveness = FocusResponsiveness.SNAPPY, adaptiveness: SceneAdaptiveness = SceneAdaptiveness.CONTINUOUS, modes: List<MeteringMode>? = null, autoResetAfter: Duration? = 5.seconds)

Properties

Link copied to clipboard

The adaptiveness to changes in the scene.

Link copied to clipboard

If set, the focus automatically resets itself to continuous auto focus after it has been stable for this duration. If null, the focus stays locked until it is reset or another focus operation starts.

Link copied to clipboard

The metering modes to run this focus operation on, or null to enable every MeteringMode the device supports (ideally 3A).

Link copied to clipboard

The responsiveness of the metering operation.