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

Jump to navigation Jump to search
Line 1: Line 1:
== Overview ==
== Overview ==
'''BluetoothAdapterEvent''' is carried as the argument of [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded manager.onadapteradded] and [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapterremoved manager.onadapterremoved] event handlers. Applications can know whether the added/removed adapter is default adapter, and get the added [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter BluetoothAdapter] object or the address of removed adapter.
'''BluetoothAdapterEvent''' is carried as the parameter of [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded manager.onadapteradded] and [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapterremoved manager.onadapterremoved] event handlers. Applications can know whether the added/removed adapter is default adapter, and get the added [https://wiki.mozilla.org/B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter BluetoothAdapter] object or the address of removed adapter.


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

edits

Navigation menu