The BluetoothManager interface of the Bluetooth API allows to access all Bluetooth adapters available on the device. Adapters are the connection interface to connect a Bluetooth device to that device.
no-linkA BluetoothAdapter object selected by default. The value would be null if the device doesn't have any Bluetooth chip.
BluetoothManager.onadapteraddedA handler for the adapteradded event; it is triggered when a Bluetooth adapter is enabled on the device.
BluetoothManager.onadapterremovedA handler for the adapterremoved event; it is triggered when a Bluetooth adapter is disabled on the device, or removed.
BluetoothManager.onattributechangedA handler for the attributechanged event; it is triggered when the BluetoothManager.defaultAdapter property changes.
Note: Because the BluetoothManager interface inherits from the EventTarget interface, all these events can be listened by using the addEventListener method.
BluetoothManager.getAdapters()Returns a list of the current BluetoothAdapters in use on the device.