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

From MozillaWiki
Jump to navigation Jump to search
Line 9: Line 9:
  };
  };


== Attributes ==
== Properties ==
* [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAddressEvent#address BluetoothAddressEvent.address]
* [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAddressEvent#address BluetoothAddressEvent.address]



Revision as of 03:08, 6 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.
This interface inherits from the Event interface.

Interface

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

Properties

address

Description
A DOMString representing the Bluetooth address to access
Value type
DOMString
Default value
Empty string ("")