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:170


colorSpaces​

• colorSpaces: ColorSpace[]

The available color spaces.

Note: On Android, this will always be only ["yuv"]

Defined in​

CameraDevice.ts:154


fieldOfView​

• fieldOfView: number

The video field of view in degrees

Defined in​

CameraDevice.ts:144


frameRateRanges​

• frameRateRanges: FrameRateRange[]

All available frame rate ranges. You can query this to find the highest frame rate available

Defined in​

CameraDevice.ts:166


isHighestPhotoQualitySupported​

• Optional isHighestPhotoQualitySupported: boolean

A boolean value specifying whether this format supports the highest possible photo quality that can be delivered on the current platform.

Platform

iOS 13.0+

Defined in​

CameraDevice.ts:132


maxISO​

• maxISO: number

Maximum supported ISO value

Defined in​

CameraDevice.ts:136


maxZoom​

• maxZoom: number

The maximum zoom factor (e.g. 128)

Defined in​

CameraDevice.ts:148


minISO​

• minISO: number

Minimum supported ISO value

Defined in​

CameraDevice.ts:140


photoHeight​

• photoHeight: number

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

Defined in​

CameraDevice.ts:114


photoWidth​

• photoWidth: number

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

Defined in​

CameraDevice.ts:118


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:180


supportsPhotoHDR​

• supportsPhotoHDR: boolean

Specifies whether this format supports HDR mode for photo capture

Defined in​

CameraDevice.ts:162


supportsVideoHDR​

• supportsVideoHDR: boolean

Specifies whether this format supports HDR mode for video capture

Defined in​

CameraDevice.ts:158


videoHeight​

• videoHeight: number

The video resolutions's height

Defined in​

CameraDevice.ts:122


videoStabilizationModes​

• videoStabilizationModes: VideoStabilizationMode[]

All supported video stabilization modes

Defined in​

CameraDevice.ts:174


videoWidth​

• videoWidth: number

The video resolution's width

Defined in​

CameraDevice.ts:126