diff --git a/src/@ionic-native/plugins/camera-preview/index.ts b/src/@ionic-native/plugins/camera-preview/index.ts index 8923ed42..8fcaa5a5 100644 --- a/src/@ionic-native/plugins/camera-preview/index.ts +++ b/src/@ionic-native/plugins/camera-preview/index.ts @@ -40,7 +40,7 @@ export interface CameraPreviewOptions { /** Tap to set specific focus point. Note, this assumes the camera is full-screen. default false */ tapToFocus?: boolean; - /** On Android disable automatic rotation of the image and stripping of Exif header. default false */ + /** On Android disable automatic rotation of the image and stripping of Exit header. default false */ disableExifHeaderStripping?: boolean; } @@ -234,7 +234,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Take the picture (base64) - * @param [options] {CameraPreviewPictureOptions} size and quality of the picture to take + * @param {CameraPreviewPictureOptions} [options] size and quality of the picture to take * @return {Promise} */ @Cordova({ @@ -293,7 +293,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Set the preview Size - * @param [dimensions] {CameraPreviewDimensions} + * @param {CameraPreviewDimensions} [dimensions] * @return {Promise} */ @Cordova({ @@ -315,7 +315,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Set the focus mode - * @param [focusMode] {string} 'fixed', 'auto', 'continuous-picture', 'continuous-video' (iOS & Android), 'edof', 'infinity', 'macro' (Android Only) + * @param {string} [focusMode] 'fixed', 'auto', 'continuous-picture', 'continuous-video' (iOS & Android), 'edof', 'infinity', 'macro' (Android Only) * @return {Promise} */ @Cordova({ @@ -345,8 +345,8 @@ export class CameraPreview extends IonicNativePlugin { } /** - * Set the flashmode - * @param [flashMode] {string} 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android) + * Set the flash mode + * @param {string} [flashMode] 'off' (iOS & Android), 'on' (iOS & Android), 'auto' (iOS & Android), 'torch' (Android) * @return {Promise} */ @Cordova({ @@ -395,7 +395,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Set exposure mode - * @param [lock] {string} + * @param {string} [lock] * @return {Promise} */ @Cordova({ @@ -417,7 +417,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Set exposure compensation (Android) - * @param [exposureCompensation] {number} + * @param {number} [exposureCompensation] * @return {Promise} */ @Cordova({ @@ -439,8 +439,8 @@ export class CameraPreview extends IonicNativePlugin { /** * Set specific focus point. Note, this assumes the camera is full-screen. - * @param xPoint {number} - * @param yPoint {number} + * @param {number} xPoint + * @param {number} yPoint * @return {Promise} */ @Cordova() @@ -450,7 +450,7 @@ export class CameraPreview extends IonicNativePlugin { /** * Add a listener for the back event for the preview - * @return {Promise} if backbutton pressed + * @return {Promise} if back button pressed */ @Cordova() onBackButton(): Promise {