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

From MozillaWiki
Jump to navigation Jump to search
Line 1: Line 1:
== Overview ==
== Overview ==
The BluetoothAddressEvent API provides access to a Bluetooth address when the ''adapterremoved'' or ''deviceunpaired'' event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#adapterremoved BluetoothManager.adapterremoved] and [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#deviceunpaired BluetoothAdapter.ondevicepaired] for more information.
The BluetoothAddressEvent API provides access to a Bluetooth address when the ''adapterremoved'' or ''deviceunpaired'' event is fired. See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#adapterremoved BluetoothManager.onadapterremoved] and [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#deviceunpaired BluetoothAdapter.ondevicepaired] for more information.


== Interface ==
== Interface ==

Revision as of 11:35, 5 March 2014

Overview

The BluetoothAddressEvent API provides access to a Bluetooth address when the adapterremoved or deviceunpaired event is fired. See BluetoothManager.onadapterremoved and BluetoothAdapter.ondevicepaired for more information.

Interface

interface BluetoothAddressEvent : Event
{
  readonly attribute BluetoothAddress address;
};

Attributes

address

Description
A BluetoothAddress object representing the address to access
Value type
BluetoothAddress