public enum

CameraCaptureMetaData.AfState

extends java.lang.Enum<CameraCaptureMetaData.AfState>

 java.lang.Object

↳java.lang.Enum<CameraCaptureMetaData.AfState>

↳androidx.camera.core.CameraCaptureMetaData.AfState

Overview

Auto focus (AF) state.

Summary

Enum Constants
FOCUSEDAF currently believes it is in focus.
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.
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.

FOCUSED

AF currently believes it is in 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)