Share via


CameraMetadata.ControlSettingsOverrideZoom Field

Definition

Caution

This constant will be removed in the future version. Use Android.Hardware.Camera2.ControlSettingsOverride enum directly instead of this field.

Zoom related keys are applied sooner than the other keys in the CaptureRequest.

[Android.Runtime.Register("CONTROL_SETTINGS_OVERRIDE_ZOOM", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ControlSettingsOverride enum directly instead of this field.", true)]
public const Android.Hardware.Camera2.ControlSettingsOverride ControlSettingsOverrideZoom = 1;
[<Android.Runtime.Register("CONTROL_SETTINGS_OVERRIDE_ZOOM", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Hardware.Camera2.ControlSettingsOverride enum directly instead of this field.", true)>]
val mutable ControlSettingsOverrideZoom : Android.Hardware.Camera2.ControlSettingsOverride

Field Value

Value = 1
Attributes

Remarks

Zoom related keys are applied sooner than the other keys in the CaptureRequest. The zoom related keys are:

<ul> <li>CaptureRequest#CONTROL_ZOOM_RATIO android.control.zoomRatio</li> <li>CaptureRequest#SCALER_CROP_REGION android.scaler.cropRegion</li> <li>CaptureRequest#CONTROL_AE_REGIONS android.control.aeRegions</li> <li>CaptureRequest#CONTROL_AWB_REGIONS android.control.awbRegions</li> <li>CaptureRequest#CONTROL_AF_REGIONS android.control.afRegions</li> </ul>

Even though CaptureRequest#CONTROL_AE_REGIONS android.control.aeRegions, CaptureRequest#CONTROL_AWB_REGIONS android.control.awbRegions, and CaptureRequest#CONTROL_AF_REGIONS android.control.afRegions are not directly zoom related, applications typically scale these regions together with CaptureRequest#SCALER_CROP_REGION android.scaler.cropRegion to have a consistent mapping within the current field of view. In this aspect, they are related to CaptureRequest#SCALER_CROP_REGION android.scaler.cropRegion and CaptureRequest#CONTROL_ZOOM_RATIO android.control.zoomRatio.

Java documentation for android.hardware.camera2.CameraMetadata.CONTROL_SETTINGS_OVERRIDE_ZOOM.

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