Skip to main content

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:25


enableAutoRedEyeReduction​

β€’ Optional enableAutoRedEyeReduction: boolean

Specifies whether red-eye reduction should be applied automatically on flash captures.

Platform

iOS

Default

false

Defined in​

PhotoFile.ts:17


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:39


enableShutterSound​

β€’ Optional enableShutterSound: boolean

Whether to play the default shutter "click" sound when taking a picture or not.

Default

true

Defined in​

PhotoFile.ts:31


flash​

β€’ Optional flash: "off" | "auto" | "on"

Whether the Flash should be enabled or disabled

Default

"auto"

Defined in​

PhotoFile.ts:10