B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
== Overview ==
== Overview ==
The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the ''adapteradded'' event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded BluetoothManager.onadapteradded] for more information.
The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the ''adapteradded'' event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded BluetoothManager.onadapteradded] for more information.
This interface inherits from the [https://developer.mozilla.org/en-US/docs/Web/API/Event Event] interface.


== Interface ==
== Interface ==

Revision as of 01:39, 6 March 2014

Overview

The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the adapteradded event is fired. See BluetoothManager.onadapteradded for more information. This interface inherits from the Event interface.

Interface

interface BluetoothAdapterEvent : Event
{
  readonly attribute BluetoothAdapter adapter;
};

Attributes

adapter

Description
A BluetoothAdapter object representing the physical interface which is used to interact with local Bluetooth device.
Value type
BluetoothAdapter