Interface: FormatFilter
Properties​
autoFocusSystem?​
optionalautoFocusSystem:AutoFocusSystem
The target auto-focus system.
While phase-detection is generally the best system available,
you might want to choose a different auto-focus system.
Defined in​
devices/getCameraFormat.ts:76
fps?​
optionalfps:number|"max"
The target FPS you want to record video at. If the FPS requirements can not be met, the format closest to this value will be used.
Defined in​
devices/getCameraFormat.ts:51
iso?​
optionaliso:number|"max"|"min"
The target ISO value for capturing photos. Higher ISO values tend to capture sharper photos, at the cost of reduced capture speed. Lower ISO values tend to capture photos quicker.
Defined in​
devices/getCameraFormat.ts:70
photoAspectRatio?​
optionalphotoAspectRatio:number
The target aspect ratio of the photo output, expressed as a factor: width / height.
(Note: Cameras are in landscape orientation)
In most cases, you want this to be the same as targetVideoAspectRatio, which you often want
to be as close to the screen's aspect ratio as possible (usually ~9:16)
Example​
const screen = Dimensions.get('screen')
targetPhotoAspectRatio: screen.height / screen.width
Defined in​
devices/getCameraFormat.ts:46
photoHdr?​
optionalphotoHdr:boolean
Whether you want to find a format that supports Photo HDR.
Defined in​
devices/getCameraFormat.ts:60
photoResolution?​
optionalphotoResolution:"max"|Size
The target resolution of the photo output pipeline. If no format supports the given resolution, the format closest to this value will be used.
Defined in​
devices/getCameraFormat.ts:19
videoAspectRatio?​
optionalvideoAspectRatio:number
The target aspect ratio of the video (and preview) output, expressed as a factor: width / height.
(Note: Cameras are in landscape orientation)
In most cases, you want this to be as close to the screen's aspect ratio as possible (usually ~9:16).
Example​
const screen = Dimensions.get('screen')
targetVideoAspectRatio: screen.height / screen.width
Defined in​
devices/getCameraFormat.ts:32
videoHdr?​
optionalvideoHdr:boolean
Whether you want to find a format that supports Photo HDR.
Defined in​
devices/getCameraFormat.ts:64
videoResolution?​
optionalvideoResolution:"max"|Size
The target resolution of the video (and frame processor) output pipeline. If no format supports the given resolution, the format closest to this value will be used.
Defined in​
devices/getCameraFormat.ts:14
videoStabilizationMode?​
optionalvideoStabilizationMode:VideoStabilizationMode
The target video stabilization mode you want to use. If no format supports the target video stabilization mode, the best other matching format will be used.
Defined in​
devices/getCameraFormat.ts:56