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:163
colorSpaces​
• colorSpaces: ColorSpace
[]
The available color spaces.
Note: On Android, this will always be only ["yuv"]
Defined in​
CameraDevice.ts:143
fieldOfView​
• fieldOfView: number
The video field of view in degrees
Defined in​
CameraDevice.ts:133
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:159
maxISO​
• maxISO: number
Maximum supported ISO value
Defined in​
CameraDevice.ts:125
maxZoom​
• maxZoom: number
The maximum zoom factor (e.g. 128
)
Defined in​
CameraDevice.ts:137
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:155
minISO​
• minISO: number
Minimum supported ISO value
Defined in​
CameraDevice.ts:129
photoHeight​
• photoHeight: number
The height of the highest resolution a still image (photo) can be produced in
Defined in​
CameraDevice.ts:109
photoWidth​
• photoWidth: number
The width of the highest resolution a still image (photo) can be produced in
Defined in​
CameraDevice.ts:113
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:173
supportsPhotoHDR​
• supportsPhotoHDR: boolean
Specifies whether this format supports HDR mode for photo capture
Defined in​
CameraDevice.ts:151
supportsVideoHDR​
• supportsVideoHDR: boolean
Specifies whether this format supports HDR mode for video capture
Defined in​
CameraDevice.ts:147
videoHeight​
• videoHeight: number
The video resolutions's height
Defined in​
CameraDevice.ts:117
videoStabilizationModes​
• videoStabilizationModes: VideoStabilizationMode
[]
All supported video stabilization modes
Defined in​
CameraDevice.ts:167
videoWidth​
• videoWidth: number
The video resolution's width
Defined in​
CameraDevice.ts:121