B2G/Bluetooth/WebBluetooth-v2/BluetoothAddressEvent

From MozillaWiki
Jump to navigation Jump to search

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;
};

Attributes

address

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