feat: Add enableShutterSound prop to takePhoto() 🔊 (#1702)

* feat: Add `enableShutterSound` prop to `takePhoto()` 🔊

* Swift lint
This commit is contained in:
Marc Rousavy
2023-08-21 15:27:42 +02:00
committed by GitHub
parent 0a51980f26
commit a46839a57b
7 changed files with 37 additions and 4 deletions

View File

@@ -38,6 +38,12 @@ export interface TakePhotoOptions {
* @default false
*/
enableAutoDistortionCorrection?: boolean;
/**
* Whether to play the default shutter "click" sound when taking a picture or not.
*
* @default true
*/
enableShutterSound?: boolean;
}
/**