feat(camera-preview): add storeToFile param (#3958)

This commit is contained in:
Martin DONADIEU 2022-01-06 21:28:38 +01:00 committed by GitHub
parent e1c10171ba
commit 6a93bb2e9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,9 @@ export interface CameraPreviewOptions {
/** Preview box drag across the screen, default 'false' */ /** Preview box drag across the screen, default 'false' */
previewDrag?: boolean; previewDrag?: boolean;
/** Capture images to a file and return back the file path instead of returning base64 encoded data. */
storeToFile: boolean;
/** Preview box to the back of the webview (true => back, false => front) , default false */ /** Preview box to the back of the webview (true => back, false => front) , default false */
toBack?: boolean; toBack?: boolean;