B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent: Difference between revisions

Jump to navigation Jump to search
Line 1: Line 1:
== Overview ==
== Overview ==
The BluetoothAdapterEvent API provides access to a Bluetooth adapter when the ''adapteradded'' event is fired.
'''BluetoothAdapterEvent''' is carried as the argument of [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded manager.onadapteradded] event handler. Applications can get the added [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter BluetoothAdapter] object and knows whether the added adapter is default adapter.
See [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded BluetoothManager.onadapteradded] for more information. This interface inherits from the [https://developer.mozilla.org/en-US/docs/Web/API/Event Event] interface.


== Interface ==
== Interface ==
Confirmed users
891

edits

Navigation menu