---
description: This page covers the description of the CameraMode enumeration
---

# CameraMode

`CameraMode` enumeration contains types of camera API.

```javascript
const CameraMode = {
    AUTO: 0,
    CAMERA1: 1,
    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                                                                                                     |
