FocusOptions

interface FocusOptions

Options for a focus metering operation via CameraController.focusTo(...)

Properties

adaptiveness?

optional adaptiveness: SceneAdaptiveness

The adaptiveness to changes in the scene.

See

SceneAdaptiveness

Default

'continuous'

autoResetAfter?

optional autoResetAfter: number | null
  • If set to a number, the focus will automatically reset itself to continuous auto focus again after it has been stable for the duration specified in autoResetAfter - in seconds.
  • If set to null, the focus stays locked until you manually call resetFocus(), or schedule another focus operation via focusTo(...)

Default

5

modes?

optional modes: MeteringMode[]

The metering modes to run this focus operation on.

See

MeteringMode

Default

['AF', 'AE', 'AWB']

responsiveness?

optional responsiveness: FocusResponsiveness

The responsiveness of the metering operation.

See

FocusResponsiveness

Default

'snappy'