public enum

CameraCaptureMetaData.AfState

extends java.lang.Enum<CameraCaptureMetaData.AfState>

 java.lang.Object

↳java.lang.Enum<CameraCaptureMetaData.AfState>

↳androidx.camera.core.impl.CameraCaptureMetaData.AfState

Overview

Auto focus (AF) state.

Summary

Enum Constants
INACTIVEAF is off or not yet has been triggered.
LOCKED_FOCUSEDAF believes it is focused correctly and has locked focus.
LOCKED_NOT_FOCUSEDAF has failed to focus and has locked focus.
PASSIVE_FOCUSEDAF currently believes it is in focus.
PASSIVE_NOT_FOCUSEDAF finished a passive scan without finding focus.
SCANNINGAF is performing an AF scan.
UNKNOWNAF state is currently unknown.
Methods
public static CameraCaptureMetaData.AfStatevalueOf(java.lang.String name)

public static CameraCaptureMetaData.AfStatevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

UNKNOWN

AF state is currently unknown.

INACTIVE

AF is off or not yet has been triggered.

SCANNING

AF is performing an AF scan.

PASSIVE_FOCUSED

AF currently believes it is in focus.

PASSIVE_NOT_FOCUSED

AF finished a passive scan without finding focus.

LOCKED_FOCUSED

AF believes it is focused correctly and has locked focus.

LOCKED_NOT_FOCUSED

AF has failed to focus and has locked focus.

Methods

public static CameraCaptureMetaData.AfState values()

public static CameraCaptureMetaData.AfState valueOf(java.lang.String name)