| Index: Source/modules/bluetooth/BluetoothGATTRemoteServer.idl
|
| diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.idl b/Source/modules/bluetooth/BluetoothGATTRemoteServer.idl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c1afe3d5a1c2367af3ec9a9b52ec4983a8024312
|
| --- /dev/null
|
| +++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.idl
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +// https://webbluetoothcg.github.io/web-bluetooth/#idl-def-BluetoothGATTRemoteServer
|
| +
|
| +// Implement BluetoothGATTRemoteServer interface: https://crbug.com/476735
|
| +
|
| +[
|
| + GarbageCollected,
|
| + RuntimeEnabled=Bluetooth,
|
| +] interface BluetoothGATTRemoteServer
|
| +// Implement ServiceEventHandlers interface: http://crbug.com/421670
|
| +// : ServiceEventHandlers
|
| +{
|
| + // readonly attribute BluetoothDevice device;
|
| + // readonly attribute boolean connected;
|
| + // void disconnect ();
|
| + // Promise<BluetoothGATTService> getPrimaryService (BluetoothServiceUuid service);
|
| + // Promise<sequence<BluetoothGATTService>> getPrimaryServices (optional BluetoothServiceUuid service);
|
| +};
|
|
|