Android.Hardware.Camera2.CaptureResult.ControlAfMode Property

Syntax

[Android.Runtime.Register("CONTROL_AF_MODE")]
public static CaptureResult.Key ControlAfMode { get; }

See Also

CameraCharacteristics.ControlAfAvailableModes
CaptureResult.ControlAfState
CaptureRequest.ControlMode
CameraCharacteristics.LensInfoMinimumFocusDistance

Value

Documentation for this section has not yet been entered.

Remarks

Whether auto-focus (AF) is currently enabled, and what mode it is set to.

Only effective if CaptureRequest.ControlMode = AUTO and the lens is not fixed focus (i.e. CameraCharacteristics.LensInfoMinimumFocusDistance > 0).

If the lens is controlled by the camera device auto-focus algorithm, the camera device will report the current AF status in CaptureResult.ControlAfState in result metadata.

Possible values:

Available values for this device:

CameraCharacteristics.ControlAfAvailableModes

This key is available on all devices.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0