mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Switches characteristic to use BufferSource
This commit is contained in:
parent
40235da2d3
commit
5bf2e71407
6 changed files with 17 additions and 12 deletions
|
@ -16,8 +16,7 @@ interface BluetoothRemoteGATTCharacteristic : EventTarget {
|
|||
getDescriptors(optional BluetoothDescriptorUUID descriptor);
|
||||
Promise<ByteString> readValue();
|
||||
//Promise<DataView> readValue();
|
||||
Promise<void> writeValue(sequence<octet> value);
|
||||
//Promise<void> writeValue(BufferSource value);
|
||||
Promise<void> writeValue(BufferSource value);
|
||||
Promise<BluetoothRemoteGATTCharacteristic> startNotifications();
|
||||
Promise<BluetoothRemoteGATTCharacteristic> stopNotifications();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue