ReactNative SDK Reference / CameraDeviceFormat
Interface: CameraDeviceFormat
A Camera Device's video format. Do not create instances of this type yourself, only use VitalSignCamera.getAvailableCameraDevices().
Properties
autoFocusSystem
autoFocusSystem:
AutoFocusSystem
Specifies this format's auto focus system.
colorSpaces
colorSpaces:
ColorSpace[]
The available color spaces.
Note: On Android, this will always be only ["yuv"]
fieldOfView
fieldOfView:
number
The video field of view in degrees
frameRateRanges
frameRateRanges:
FrameRateRange[]
All available frame rate ranges. You can query this to find the highest frame rate available
isHighestPhotoQualitySupported?
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+
maxISO
maxISO:
number
Maximum supported ISO value
maxZoom
maxZoom:
number
The maximum zoom factor (e.g. 128)
minISO
minISO:
number
Minimum supported ISO value
photoHeight
photoHeight:
number
The height of the highest resolution a still image (photo) can be produced in
photoWidth
photoWidth:
number
The width of the highest resolution a still image (photo) can be produced in
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)
supportsPhotoHDR
supportsPhotoHDR:
boolean
Specifies whether this format supports HDR mode for photo capture
supportsVideoHDR
supportsVideoHDR:
boolean
Specifies whether this format supports HDR mode for video capture
videoHeight
videoHeight:
number
The video resolutions's height
videoStabilizationModes
videoStabilizationModes:
VideoStabilizationMode[]
All supported video stabilization modes
videoWidth
videoWidth:
number
The video resolution's width