capacitor-greatday-camera
v0.4.1
Published
The capacitor plugin for camera function
Downloads
2,549
Readme
capacitor-greatday-camera
The capacitor plugin for camera function
Install
npm install capacitor-greatday-camera
npx cap syncAPI
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 |
| ---------------------------- | -------------------- |
| cameraSource | string |
| photoName | string |
| quality | string |
| maxSize | string |
| isFacingBack | boolean |
| disablePreview | boolean |
| showFaceArea | boolean |
| showNativeCameraButton | boolean |
