Interface: TakePhotoOptions
Propertiesβ
enableAutoDistortionCorrectionβ
β’ Optional
enableAutoDistortionCorrection: boolean
Specifies whether the photo output should use content aware distortion correction on this photo request. For example, the algorithm may not apply correction to faces in the center of a photo, but may apply it to faces near the photoβs edges.
Platform
iOS
Default
false
Defined inβ
PhotoFile.ts:40
enableAutoRedEyeReductionβ
β’ Optional
enableAutoRedEyeReduction: boolean
Specifies whether red-eye reduction should be applied automatically on flash captures.
Default
false
Defined inβ
PhotoFile.ts:26
enableAutoStabilizationβ
β’ Optional
enableAutoStabilization: boolean
Indicates whether still image stabilization will be enabled when capturing the photo
Default
false
Defined inβ
PhotoFile.ts:32
enablePrecaptureβ
β’ Optional
enablePrecapture: boolean
Whether to run the pre-capture sequence to properly lock AF, AE and AWB values. Enabling this results in greater photos, but might not work on some devices.
Platform
Android
Default
false
Defined inβ
PhotoFile.ts:54
enableShutterSoundβ
β’ Optional
enableShutterSound: boolean
Whether to play the default shutter "click" sound when taking a picture or not.
Default
true
Defined inβ
PhotoFile.ts:46
flashβ
β’ Optional
flash: "off"
| "auto"
| "on"
Whether the Flash should be enabled or disabled
Default
"auto"
Defined inβ
PhotoFile.ts:20
qualityPrioritizationβ
β’ Optional
qualityPrioritization: "quality"
| "balanced"
| "speed"
Indicates how photo quality should be prioritized against speed.
"quality"
Indicates that photo quality is paramount, even at the expense of shot-to-shot time"balanced"
Indicates that photo quality and speed of delivery are balanced in priority"speed"
Indicates that speed of photo delivery is most important, even at the expense of quality
Default
"balanced"
Defined inβ
PhotoFile.ts:14