diff --git a/src/@ionic-native/plugins/camera-preview/index.ts b/src/@ionic-native/plugins/camera-preview/index.ts index 76624b886..a1b7eb02b 100644 --- a/src/@ionic-native/plugins/camera-preview/index.ts +++ b/src/@ionic-native/plugins/camera-preview/index.ts @@ -202,6 +202,20 @@ export class CameraPreview extends IonicNativePlugin { startCamera(options: CameraPreviewOptions): Promise { return; } + + /** + * Starts the camera video instance. + * @param {any} options + * @return {Promise} + */ + @Cordova({ + successIndex: 1, + errorIndex: 2, + }) + startRecordVideo(options: any): Promise { + return; + } + /** * Stops the camera preview instance. (iOS & Android) @@ -211,6 +225,15 @@ export class CameraPreview extends IonicNativePlugin { stopCamera(): Promise { return; } + + /** + * Stops the camera video instance. (iOS & Android) + * @return {Promise} + */ + @Cordova() + stopRecordVideo(): Promise { + return; + } /** * Switch from the rear camera and front camera, if available.