docs(camera-preview): change repo no longer maintaned fix #360
* docs(camera-preview): change repo no longer maintaned fix #360 * refactor(camera-preview): delete dead code
This commit is contained in:
parent
f0961c7b23
commit
7b2fe69c7c
@ -19,7 +19,7 @@ export interface CameraPreviewSize {
|
|||||||
* @description
|
* @description
|
||||||
* Showing camera preview in HTML
|
* Showing camera preview in HTML
|
||||||
*
|
*
|
||||||
* For more info, please see the [Cordova Camera Preview Plugin Docs](https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview).
|
* For more info, please see the [Cordova Camera Preview Plugin Docs](https://github.com/westonganger/cordova-plugin-camera-preview').
|
||||||
*
|
*
|
||||||
* @usage
|
* @usage
|
||||||
* ```
|
* ```
|
||||||
@ -71,7 +71,7 @@ export interface CameraPreviewSize {
|
|||||||
@Plugin({
|
@Plugin({
|
||||||
plugin: 'cordova-plugin-camera-preview',
|
plugin: 'cordova-plugin-camera-preview',
|
||||||
pluginRef: 'cordova.plugins.camerapreview',
|
pluginRef: 'cordova.plugins.camerapreview',
|
||||||
repo: 'https://github.com/cordova-plugin-camera-preview/cordova-plugin-camera-preview',
|
repo: 'https://github.com/westonganger/cordova-plugin-camera-preview',
|
||||||
platforms: ['Android', 'iOS']
|
platforms: ['Android', 'iOS']
|
||||||
})
|
})
|
||||||
export class CameraPreview {
|
export class CameraPreview {
|
||||||
@ -139,14 +139,6 @@ export class CameraPreview {
|
|||||||
})
|
})
|
||||||
static hide(): void { };
|
static hide(): void { };
|
||||||
|
|
||||||
/**
|
|
||||||
* Set the default mode for the Flash.
|
|
||||||
*/
|
|
||||||
// @Cordova({
|
|
||||||
// sync: true
|
|
||||||
// })
|
|
||||||
// static setFlashMode(mode: number): void { };
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set camera color effect.
|
* Set camera color effect.
|
||||||
*/
|
*/
|
||||||
@ -154,15 +146,4 @@ export class CameraPreview {
|
|||||||
sync: true
|
sync: true
|
||||||
})
|
})
|
||||||
static setColorEffect(effect: string): void { };
|
static setColorEffect(effect: string): void { };
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
* @enum {number}
|
|
||||||
*/
|
|
||||||
static FlashMode = {
|
|
||||||
OFF: 0,
|
|
||||||
ON: 1,
|
|
||||||
AUTO: 2
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user