react-native-vision-cameraInterfaces
FocusOptions
interface FocusOptionsOptions for a focus metering operation via
CameraController.focusTo(...)
Properties
adaptiveness?
optional adaptiveness: SceneAdaptivenessThe adaptiveness to changes in the scene.
See
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 inautoResetAfter- in seconds. - If set to
null, the focus stays locked until you manually callresetFocus(), or schedule another focus operation viafocusTo(...)
Default
5modes?
optional modes: MeteringMode[]The metering modes to run this focus operation on.
See
Default
['AF', 'AE', 'AWB']responsiveness?
optional responsiveness: FocusResponsivenessThe responsiveness of the metering operation.
See
Default
'snappy'