mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
feat(camera-preview): add tapToFocus method (#1494)
* Update index.ts * Update index.ts
This commit is contained in:
parent
80af55100e
commit
8330c92921
@ -383,4 +383,13 @@ export class CameraPreview extends IonicNativePlugin {
|
|||||||
@Cordova()
|
@Cordova()
|
||||||
getExposureCompensationRange(): Promise<any> { return; }
|
getExposureCompensationRange(): Promise<any> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set specific focus point. Note, this assumes the camera is full-screen.
|
||||||
|
* @param xPoint {number}
|
||||||
|
* @param yPoint {number}
|
||||||
|
* @return {Promise<any>}
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
tapToFocus(xPoint: number, yPoint: number): Promise<any> { return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user