docs(diagnostic): change bluetoothStates to bluetoothState (#1199)

This commit is contained in:
Patrick Reames 2017-03-20 14:06:20 -05:00 committed by Ibby Hadeed
parent 97ba9b4fe1
commit 55d6d11721

View File

@ -19,7 +19,7 @@ import {Cordova, Plugin, CordovaProperty} from './plugin';
*
* Diagnostic.getBluetoothState()
* .then((state) => {
* if (state == Diagnostic.bluetoothStates.POWERED_ON){
* if (state == Diagnostic.bluetoothState.POWERED_ON){
* // do something
* } else {
* // do something else