B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt: Difference between revisions

Jump to navigation Jump to search
Line 152: Line 152:


; Return
; Return
: A Promise to indicate whether the operation is resolved or rejected. If the property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#connectionState|connectionState]] is not <tt>connected</tt>, the Promise would be rejected.
: A Promise to indicate whether the operation is resolved or rejected. If the property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothGatt#connectionState|connectionState]] is not <tt>connected</tt> when the method is called, the Promise would be rejected.


; Sample
; Sample
Confirmed users
891

edits

Navigation menu