Android.Hardware.Camera2.CaptureResult.ControlAfTrigger Property

Syntax

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

See Also

CaptureResult.ControlAfState

Value

Documentation for this section has not yet been entered.

Remarks

Whether the camera device will trigger autofocus for this request.

This entry is normally set to IDLE, or is not included at all in the request settings.

When included and set to START, the camera device will trigger the autofocus algorithm. If autofocus is disabled, this trigger has no effect.

When set to CANCEL, the camera device will cancel any active trigger, and return to its initial AF state.

Generally, applications should set this entry to START or CANCEL for only a single capture, and then return it to IDLE (or not set at all). Specifying START for multiple captures in a row means restarting the AF operation over and over again.

See CaptureResult.ControlAfState for what the trigger means for each AF mode.

Possible values:

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