From 51bc5ef5424bd9a5ab33be417b2f78436ab5158d Mon Sep 17 00:00:00 2001 From: Ibby Date: Thu, 13 Oct 2016 19:15:38 -0400 Subject: [PATCH] docs(ble): update docs for isEnabled closes #665 --- src/plugins/ble.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/plugins/ble.ts b/src/plugins/ble.ts index a947a87d6..fa3a545c7 100644 --- a/src/plugins/ble.ts +++ b/src/plugins/ble.ts @@ -400,17 +400,10 @@ export class BLE { /** * Report if bluetooth is enabled. * - * @usage - * ``` - * BLE.isEnabled().then( - * () => { console.log('enabled'); }, - * () => { console.log('not enabled'); } - * ); - * ``` - * @return Returns a Promise. + * @return {Promise} Returns a Promise that resolves if Bluetooth is enabled, and rejects if disabled. */ @Cordova() - static isEnabled(): Promise { return; } + static isEnabled(): Promise { return; } /** * Open System Bluetooth settings (Android only).