blob: 5a50ec6de932cb97af1a7dfb650e58ff016042af [file] [log] [blame]
// Copyright 2014 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://webbluetoothchrome.github.io/web-bluetooth/#idl-def-bluetoothdevice
// Implement BluetoothDevice interface: http://crbug.com/421668
[
DependentLifetime,
OriginTrialEnabled=WebBluetooth,
] interface BluetoothDevice : EventTarget
// Implement ServiceEventHandlers interface: http://crbug.com/421670
// : ServiceEventHandlers
{
// Implement BluetoothDevice interface: http://crbug.com/421668
readonly attribute DOMString id;
readonly attribute DOMString? name;
readonly attribute BluetoothRemoteGATTServer gatt;
readonly attribute UUID[] uuids;
attribute EventHandler ongattserverdisconnected;
};