mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-24 11:50:17 +08:00
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()
|
* Diagnostic.getBluetoothState()
|
||||||
* .then((state) => {
|
* .then((state) => {
|
||||||
* if (state == Diagnostic.bluetoothStates.POWERED_ON){
|
* if (state == Diagnostic.bluetoothState.POWERED_ON){
|
||||||
* // do something
|
* // do something
|
||||||
* } else {
|
* } else {
|
||||||
* // do something else
|
* // do something else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user