diff --git a/src/@ionic-native/plugins/camera-preview/index.ts b/src/@ionic-native/plugins/camera-preview/index.ts index bf7af50ae..b1c233363 100644 --- a/src/@ionic-native/plugins/camera-preview/index.ts +++ b/src/@ionic-native/plugins/camera-preview/index.ts @@ -383,4 +383,13 @@ export class CameraPreview extends IonicNativePlugin { @Cordova() getExposureCompensationRange(): Promise { return; } + /** + * Set specific focus point. Note, this assumes the camera is full-screen. + * @param xPoint {number} + * @param yPoint {number} + * @return {Promise} + */ + @Cordova() + tapToFocus(xPoint: number, yPoint: number): Promise { return; } + }