capacitor-greatday-camera
The capacitor plugin for camera function
Install
npm install capacitor-greatday-camera
npx cap sync
API
getCamera(...)
getCamera(options?: CameraPluginOptions | undefined) => Promise<{ result: string; }>
Returns: Promise<{ result: string; }>
getCameraSwap(...)
getCameraSwap(options?: CameraPluginOptions | undefined) => Promise<{ result: string; }>
Returns: Promise<{ result: string; }>
Interfaces
CameraPluginOptions
Prop | Type |
---|
photoName | string |
quality | string |
maxSize | string |
isFacingBack | boolean |
disablePreview | boolean |
showFaceArea | boolean |