# CameraControl

`import { CameraControl } from "destack:device/binding";`

Camera control identifier.

```ds title="CameraControl"
export enum CameraControl {
    ExposureCompensation = 1,
    ExposureTimeNs = 2,
    SensorIso = 3,
    WhiteBalanceKelvin = 4,
    FocusDistanceDiopters = 5,
    ZoomRatio = 6,
    PanDegrees = 7,
    TiltDegrees = 8,
    Torch = 9,
}
```

[language/library/src/device/binding/camera.ds:65:84](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/camera.ds#L65-L84)

## Variants

### `ExposureCompensation = 1`

Exposure compensation control.

### `ExposureTimeNs = 2`

Exposure time control in nanoseconds.

### `SensorIso = 3`

Sensor ISO control.

### `WhiteBalanceKelvin = 4`

White-balance temperature control in kelvin.

### `FocusDistanceDiopters = 5`

Focus distance control in diopters.

### `ZoomRatio = 6`

Zoom ratio control.

### `PanDegrees = 7`

Pan angle control in degrees.

### `TiltDegrees = 8`

Tilt angle control in degrees.

### `Torch = 9`

Torch control.
