B2G/Bluetooth/WebBluetooth-v2/BluetoothAddressEvent: Difference between revisions
< B2G | Bluetooth | WebBluetooth-v2
Jump to navigation
Jump to search
m (→Overview) |
m (→address) |
||
| Line 13: | Line 13: | ||
=== address === | === address === | ||
; Description | ; Description | ||
: A | : A DOMString representing the Bluetooth address to access | ||
; Value type | ; Value type | ||
: | : DOMString | ||
; Default value | |||
: Empty string ("") | |||
Revision as of 11:40, 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 DOMString representing the Bluetooth address to access
- Value type
- DOMString
- Default value
- Empty string ("")