Language

CaptureResult.ControlAutoframingState Property

Definition

Current state of auto-framing.

[Android.Runtime.Register("CONTROL_AUTOFRAMING_STATE", ApiSince=34)]
public static Android.Hardware.Camera2.CaptureResult.Key ControlAutoframingState { get; }
[<Android.Runtime.Register("CONTROL_AUTOFRAMING_STATE", ApiSince=34)>]
static member ControlAutoframingState : Android.Hardware.Camera2.CaptureResult.Key

Property Value

Current state of auto-framing.

Attributes

Remarks

Current state of auto-framing.

When the camera doesn't have auto-framing available (i.e android.control.autoframingAvailable == false) or it is not enabled (i.e android.control.autoframing == OFF), the state will always be INACTIVE. Other states indicate the current auto-framing state: When android.control.autoframing is set to ON, auto-framing will take place. While the frame is aligning itself to center the object (doing things like zooming in, zooming out or pan), the state will be FRAMING; When field of view is not being adjusted anymore and has reached a stable state, the state will be CONVERGED

Possible values: INACTIVE; FRAMING; CONVERGED

Optional - The value for this key may be null on some devices.

Limited capability - Present on all camera devices that report being at least HARDWARE_LEVEL_LIMITED devices in the android.info.supportedHardwareLevel key

Android reference for android.hardware.camera2.CaptureResult.CONTROL_AUTOFRAMING_STATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to