Every setting a camera can have, under one id and one spelling of its values on every brand. Read and write one with its typed getter and setter (get or set and the id: getIso, setIso), or with setControl by id.
// Typed: only an Iso compiles.
await camera.setIso('ISO 800')
// By id: for a UI that lists every setting.
await camera.setControl('iso', 'ISO 800')
const { controls } = await camera.getCapabilities()
console.log(controls.iso?.value, controls.iso?.allowedValues)A camera has only some of these settings, and offers only some values of each: getCapabilities().controls is what the connected camera has now, as a CameraControlState per id. A setter refuses a value the camera does not offer with CameraRefusedError before sending anything; a getter throws CameraUnsupportedError when the setting is absent or does not apply in the current mode.
Guide: Settings and values
The 33 settings are on 7 pages, one per area. This page names every setting with its getter and setter, and links to where each is documented with its values and the vendor properties behind it.
Exposure settings
How bright the picture is: shutter speed, ISO, aperture and the modes around them. Open exposure settings.
Video settings
What a recording is: the photo or video mode, the format, quality and frame rate, and sound. Open video settings.
Photo settings
What a photo is and how it is taken: drive mode, shutter type and flash, and the file the camera writes. Open photo settings.
Colour and look settings
The colour of the light and how the camera renders it: white balance, colour temperature, the look and the picture profile. Open colour and look settings.
Focus settings
How the camera finds and follows a subject: focus mode and area, and subject detection. Open focus settings.
Zoom and stabilisation settings
The two settings beside the zoom operations: image stabilisation and digital zoom. Open zoom and stabilisation settings.
| Setting | Getter and setter |
|---|---|
| Image stabilisation | getImageStabilization setImageStabilization |
| Digital zoom | getDigitalZoom setDigitalZoom |
Live view settings
The one setting of the live picture: its quality. Open live view settings.
| Setting | Getter and setter |
|---|---|
| Live-view quality | getLiveViewQuality setLiveViewQuality |