docs(diagnostic): change bluetoothStates to bluetoothState (#1199)
This commit is contained in:
parent
97ba9b4fe1
commit
55d6d11721
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user