1 /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
5 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 [CheckPermissions="bluetooth"]
8 interface BluetoothDevice : EventTarget {
9 readonly attribute DOMString address;
10 readonly attribute DOMString name;
11 readonly attribute DOMString icon;
12 readonly attribute boolean connected;
13 readonly attribute boolean paired;
14 readonly attribute unsigned long class;
16 // array of type DOMString[]
18 readonly attribute any uuids;
20 // array of type DOMString[]
22 readonly attribute any services;