B2G/BluetoothManager: Difference between revisions
< B2G
Jump to navigation
Jump to search
| Line 19: | Line 19: | ||
* BluetoothManager.onadapterremoved | * BluetoothManager.onadapterremoved | ||
== Methods == | === Methods === | ||
* BluetoothManager.getAdapters() | * BluetoothManager.getAdapters() | ||
* BluetoothManager.getDefaultAdapter() | * BluetoothManager.getDefaultAdapter() | ||
Revision as of 03:28, 25 February 2014
Summary
The BluetoothManager API allows to access all Bluetooth adapters available on the device. Adapters are the connection interface to connect a Bluetooth device to that device.
Interface Overview
interface BluetoothManager: EventTarget
{
attribute EventHandler onadapteradded;
attribute EventHandler onadapterremoved;
BluetoothAdapter[] getAdapters();
BluetoothAdapter getDefaultAdapter();
};
Properties
- BluetoothManager.onadapteradded
- BluetoothManager.onadapterremoved
Methods
- BluetoothManager.getAdapters()
- BluetoothManager.getDefaultAdapter()