docs(ble): update docs for isEnabled

closes #665
This commit is contained in:
Ibby 2016-10-13 19:15:38 -04:00
parent ceb4217415
commit 51bc5ef542

View File

@ -400,17 +400,10 @@ export class BLE {
/** /**
* Report if bluetooth is enabled. * Report if bluetooth is enabled.
* *
* @usage * @return {Promise<void>} Returns a Promise that resolves if Bluetooth is enabled, and rejects if disabled.
* ```
* BLE.isEnabled().then(
* () => { console.log('enabled'); },
* () => { console.log('not enabled'); }
* );
* ```
* @return Returns a Promise.
*/ */
@Cordova() @Cordova()
static isEnabled(): Promise<any> { return; } static isEnabled(): Promise<void> { return; }
/** /**
* Open System Bluetooth settings (Android only). * Open System Bluetooth settings (Android only).