CapturePhotoSettings
interface CapturePhotoSettingsConfiguration options for a
capturePhoto(...) call.
See
Properties
enableCameraCalibrationDataDelivery?
optional enableCameraCalibrationDataDelivery: booleanSpecifies whether the capture pipeline should deliver Camera calibration data.
A Photo's calibration data can be accessed via
Photo.calibrationData.
Default
falseenableDepthData?
optional enableDepthData: booleanEnables or disables depth data delivery in the resulting
Photo.
Depth data will be embedded in the Photo and can be accessed
via Photo.depth.
enableDepthData can only be enabled if the
CameraPhotoOutput supports depth data - see
CameraPhotoOutput.supportsDepthDataDelivery.
Default
falseenableDistortionCorrection?
optional enableDistortionCorrection: booleanSpecifies whether the capture pipeline should automatically correct lens distortion.
Note
If enabled, captured photos will look slightly different compared to the Preview because the field-of-view might be narrower.
Default
falseenableRedEyeReduction?
optional enableRedEyeReduction: booleanSpecifies whether red-eye reduction should be applied automatically on flash captures.
When flashMode is 'off',
red eye reduction is automataically disabled.
Default
trueenableShutterSound?
optional enableShutterSound: booleanEnables or disables the system shutter sound. The shutter sound is fired exactly when a photo will be captured.
Default
trueenableVirtualDeviceFusion?
optional enableVirtualDeviceFusion: booleanEnables or disables virtual device image fusion.
If enabled, the Camera pipeline may capture photos from multiple constituent physical Camera devices at once (if using a Camera device that has multiple physical devices) to improve still image quality.
When capturing RAW photos, this is disabled.
Default
trueflashMode?
optional flashMode: FlashModeConfigures the FlashMode for this Photo
capture.
Default
'off'location?
optional location: LocationSets the given Location to be embedded
into the EXIF data of the captured Photo.
Default
undefined