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

Jump to navigation Jump to search
Line 88: Line 88:


; Description
; Description
: Read the descriptor value from the remote device.
: Read the descriptor value from the remote device. The cached value property is also updated after retrieving the value.
: The cached value property will also be updated after retrieving the value.


; Return
; Return
: A Promise to indicate whether the operation is resolved or rejected.
: A Promise to indicate whether the operation is resolved or rejected. The Promise is resolved along with the value retrieved from the remote device.
: The Promise is resolved along with the value retrieved from the remote device.


=== writeValue(ArrayBuffer value) ===
=== writeValue(ArrayBuffer value) ===
Line 105: Line 103:


; Return
; Return
: A Promise to indicate whether the operation is resolved or rejected.
: A Promise to indicate whether the operation is resolved or rejected. The Promise is resolved along with the descriptor value after this write operation.
: The Promise is resolved along with the descriptor value after this write operation.
Confirmed users
891

edits

Navigation menu