capacitor-greatday-camera
v0.2.7
Published
The capacitor plugin for camera function
Downloads
1,399
Readme
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; }>
| Param | Type |
| ------------- | ------------------------------------------------------------------- |
| options
| CameraPluginOptions |
Returns: Promise<{ result: string; }>
getCameraSwap(...)
getCameraSwap(options?: CameraPluginOptions | undefined) => Promise<{ result: string; }>
| Param | Type |
| ------------- | ------------------------------------------------------------------- |
| options
| CameraPluginOptions |
Returns: Promise<{ result: string; }>
Interfaces
CameraPluginOptions
| Prop | Type |
| -------------------- | -------------------- |
| photoName
| string |
| quality
| string |
| maxSize
| string |
| isFacingBack
| boolean |
| disablePreview
| boolean |
| showFaceArea
| boolean |