Skip to content

CameraMode

CameraMode enumeration contains types of camera API.

public class CameraMode {
    public static final int AUTO = 0;
    public static final int CAMERA1 = 1;
    public static final int CAMERA2 = 2;
}
Constant Description
AUTO Camera API is selected depending on the device's capabilities. If the camera2 API is supported, it will be used
CAMERA1 Camera1 API
CAMERA2 Camera2 API
Back to top