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β
types/PhotoFile.ts:25
enableAutoRedEyeReductionβ
β’ Optional
enableAutoRedEyeReduction: boolean
Specifies whether red-eye reduction should be applied automatically on flash captures.
Platform
iOS
Default
false
Defined inβ
types/PhotoFile.ts:17
enableShutterSoundβ
β’ Optional
enableShutterSound: boolean
Whether to play the default shutter "click" sound when taking a picture or not.
Default
true
Defined inβ
types/PhotoFile.ts:31
flashβ
β’ Optional
flash: "off"
| "auto"
| "on"
Whether the Flash should be enabled or disabled
Default
"auto"
Defined inβ
types/PhotoFile.ts:10
isAppliedRingerModeβ
β’ Optional
isAppliedRingerMode: boolean
(android) If this option is set to true, When ringerMode is RINGER_MODE_NORMAL, the shutterSound option is applied. When the ringer mode is RINGER_MODE_SILENT or RINGER MODE VIBRATE, the shutter Sound option is ignored.
Default
false
Defined inβ
types/PhotoFile.ts:40