public enum

CameraCaptureMetaData.AfMode

extends java.lang.Enum<CameraCaptureMetaData.AfMode>

 java.lang.Object

↳java.lang.Enum<CameraCaptureMetaData.AfMode>

↳androidx.camera.core.CameraCaptureMetaData.AfMode

Overview

Auto focus (AF) mode.

Summary

Enum Constants
OFFThe AF routine does not control the lens.
ON_CONTINUOUS_AUTOAF is continually scanning.
ON_MANUAL_AUTOAF is triggered on demand.
UNKNOWNAF mode is currently unknown.
Methods
public static CameraCaptureMetaData.AfModevalueOf(java.lang.String name)

public static CameraCaptureMetaData.AfModevalues()

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 mode is currently unknown.

OFF

The AF routine does not control the lens.

ON_MANUAL_AUTO

AF is triggered on demand.

In this mode, the lens does not move unless the auto focus trigger action is called.

ON_CONTINUOUS_AUTO

AF is continually scanning.

In this mode, the AF algorithm modifies the lens position continually to attempt to provide a constantly-in-focus stream.

Methods

public static CameraCaptureMetaData.AfMode values()

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