2014-07-29 00:09:00 +04:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
[CheckPermissions="bluetooth",
|
|
|
|
Constructor(DOMString type,
|
|
|
|
optional BluetoothPairingEventInit eventInitDict)]
|
|
|
|
interface BluetoothPairingEvent : Event
|
|
|
|
{
|
2014-09-11 06:03:40 +04:00
|
|
|
readonly attribute BluetoothDevice device;
|
|
|
|
readonly attribute BluetoothPairingHandle handle;
|
2014-07-29 00:09:00 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
dictionary BluetoothPairingEventInit : EventInit
|
|
|
|
{
|
2014-09-11 06:03:40 +04:00
|
|
|
required BluetoothDevice device;
|
|
|
|
required BluetoothPairingHandle handle;
|
2014-07-29 00:09:00 +04:00
|
|
|
};
|