feat(qr-scanner): added destroy method (#1916) (#1971)

fix(qr-scanner): added destroy method (#1916)
This commit is contained in:
Inconspicuously 2017-09-27 23:44:38 +02:00 committed by Ibby Hadeed
parent e684db479e
commit 10eb3eeeeb

View File

@ -159,6 +159,13 @@ export class QRScanner extends IonicNativePlugin {
})
enableLight(): Promise<QRScannerStatus> { return; }
/**
* Destroy the scanner instance.
* @returns {Promise<QRScannerStatus>}
*/
@Cordova()
destroy(): Promise<QRScannerStatus> { return; }
/**
* Disable the device's light.
* @return {Promise<QRScannerStatus>}