Skip to content

CameraMode

CameraMode enumeration contains types of camera API.

class CameraMode {
  static const int AUTO = 0;
  static const int CAMERA1 = 1;
  static const 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