fix(qr-scanner): added destroy method (#1916)
This commit is contained in:
parent
e684db479e
commit
10eb3eeeeb
@ -159,6 +159,13 @@ export class QRScanner extends IonicNativePlugin {
|
|||||||
})
|
})
|
||||||
enableLight(): Promise<QRScannerStatus> { return; }
|
enableLight(): Promise<QRScannerStatus> { return; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Destroy the scanner instance.
|
||||||
|
* @returns {Promise<QRScannerStatus>}
|
||||||
|
*/
|
||||||
|
@Cordova()
|
||||||
|
destroy(): Promise<QRScannerStatus> { return; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disable the device's light.
|
* Disable the device's light.
|
||||||
* @return {Promise<QRScannerStatus>}
|
* @return {Promise<QRScannerStatus>}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user