Language

ControlZoomMethod Enum

Definition

public enum ControlZoomMethod
type ControlZoomMethod = 
Inheritance
ControlZoomMethod

Fields

Name Value Description
Auto 0

The camera device automatically detects whether the application does zoom with android.scaler.cropRegion or android.control.zoomRatio, and in turn decides which metadata tag reflects the effective zoom level.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_ZOOM_METHOD_AUTO.

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.

ZoomRatio 1

The application intends to control zoom via android.control.zoomRatio, and the effective zoom level is reflected by android.control.zoomRatio in capture results.

Android reference for android.hardware.camera2.CameraMetadata.CONTROL_ZOOM_METHOD_ZOOM_RATIO.

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