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