| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://webbluetoothcg.github.io/web-bluetooth/#idl-def-bluetoothinteraction | 5 // https://webbluetoothcg.github.io/web-bluetooth/#idl-def-bluetoothinteraction |
| 6 | 6 |
| 7 // Implement BluetoothInteraction interface: https://crbug.com/476985 | 7 // Implement BluetoothInteraction interface: https://crbug.com/476985 |
| 8 | 8 |
| 9 [ | 9 [ |
| 10 GarbageCollected, | 10 GarbageCollected, |
| 11 NoInterfaceObject, | 11 NoInterfaceObject, |
| 12 RuntimeEnabled=Bluetooth, | 12 RuntimeEnabled=WebBluetooth, |
| 13 ] interface BluetoothInteraction { | 13 ] interface BluetoothInteraction { |
| 14 readonly attribute BluetoothUUIDs uuids; | 14 readonly attribute BluetoothUUIDs uuids; |
| 15 // Promise<BluetoothGATTService> getService(DOMString serviceInstance
ID); | 15 // Promise<BluetoothGATTService> getService(DOMString serviceInstance
ID); |
| 16 // Promise<BluetoothGATTCharacteristic> getCharacteristic(DOMString characte
risticInstanceID); | 16 // Promise<BluetoothGATTCharacteristic> getCharacteristic(DOMString characte
risticInstanceID); |
| 17 // Promise<BluetoothGATTDescriptor> getDescriptor(DOMString descriptorIn
stanceID); | 17 // Promise<BluetoothGATTDescriptor> getDescriptor(DOMString descriptorIn
stanceID); |
| 18 }; | 18 }; |
| OLD | NEW |