Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://webbluetoothcg.github.io/web-bluetooth/#bluetoothremotegattdescriptor | |
| 6 | |
| 7 // Implement BluetoothRemoteGATTDescriptor interface: https://crbug.com/660699 | |
| 8 | |
| 9 [ | |
| 10 RuntimeEnabled=WebBluetooth, | |
| 11 ] interface BluetoothRemoteGATTDescriptor { | |
| 12 | |
| 13 readonly attribute BluetoothRemoteGATTCharacteristic characteristic; | |
| 14 readonly attribute UUID uuid; | |
| 15 readonly attribute DataView? value; | |
| 16 [CallWith=ScriptState] Promise<DataView> readValue(); | |
|
scheib
2017/01/12 23:41:35
Hmm, I would have left read/write commented out of
dougt
2017/01/13 00:16:28
Acknowledged.
| |
| 17 [CallWith=ScriptState] Promise<void> writeValue(BufferSource value); | |
| 18 }; | |
| OLD | NEW |