B2G/BluetoothManager
< B2G
Jump to navigation
Jump to search
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()