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 DependentLifetime, | |
ortuno
2016/12/07 08:05:13
No need for this: https://chromium.googlesource.co
dougt
2016/12/07 19:50:34
Done.
| |
11 RuntimeEnabled=WebBluetooth, | |
12 ] interface BluetoothRemoteGATTDescriptor { | |
13 | |
14 readonly attribute BluetoothRemoteGATTCharacteristic characteristic; | |
15 readonly attribute UUID uuid; | |
16 readonly attribute DataView? value; | |
17 [CallWith=ScriptState] Promise<DataView> readValue(); | |
18 [CallWith=ScriptState] Promise<void> writeValue(BufferSource value); | |
19 }; | |
OLD | NEW |