Skip to main content

CameraDeviceFormat

A Camera Device's video format. Do not create instances of this type yourself, only use Camera.getAvailableCameraDevices().

Properties​

autoFocusSystem​

• autoFocusSystem: AutoFocusSystem

Specifies this format's auto focus system.

Defined in​

CameraDevice.ts:120


fieldOfView​

• fieldOfView: number

The video field of view in degrees

Defined in​

CameraDevice.ts:96


maxFps​

• maxFps: number

The maximum frame rate this Format is able to run at. High resolution formats often run at lower frame rates.

Defined in​

CameraDevice.ts:116


maxISO​

• maxISO: number

Maximum supported ISO value

Defined in​

CameraDevice.ts:88


maxZoom​

• maxZoom: number

The maximum zoom factor (e.g. 128)

Defined in​

CameraDevice.ts:100


minFps​

• minFps: number

The minum frame rate this Format needs to run at. High resolution formats often run at lower frame rates.

Defined in​

CameraDevice.ts:112


minISO​

• minISO: number

Minimum supported ISO value

Defined in​

CameraDevice.ts:92


photoHeight​

• photoHeight: number

The height of the highest resolution a still image (photo) can be produced in

Defined in​

CameraDevice.ts:72


photoWidth​

• photoWidth: number

The width of the highest resolution a still image (photo) can be produced in

Defined in​

CameraDevice.ts:76


pixelFormat​

• pixelFormat: PixelFormat

Specifies this format's pixel format. The pixel format specifies how the individual pixels are interpreted as a visual image.

The most common format is 420v. Some formats (like x420) are not compatible with some frame processor plugins (e.g. MLKit)

Defined in​

CameraDevice.ts:130


supportsPhotoHDR​

• supportsPhotoHDR: boolean

Specifies whether this format supports HDR mode for photo capture

Defined in​

CameraDevice.ts:108


supportsVideoHDR​

• supportsVideoHDR: boolean

Specifies whether this format supports HDR mode for video capture

Defined in​

CameraDevice.ts:104


videoHeight​

• videoHeight: number

The video resolutions's height

Defined in​

CameraDevice.ts:80


videoStabilizationModes​

• videoStabilizationModes: VideoStabilizationMode[]

All supported video stabilization modes

Defined in​

CameraDevice.ts:124


videoWidth​

• videoWidth: number

The video resolution's width

Defined in​

CameraDevice.ts:84