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

From MozillaWiki
Jump to navigation Jump to search
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.


== Interface ==
== Interface ==

Revision as of 11:32, 5 March 2014

Overview

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

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