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

No edit summary
Line 26: Line 26:
=== adapter ===
=== adapter ===
; Description
; Description
: The added adapter.
: The added adapter. The property is null for event handler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapterremoved|manager.onadapterremoved]] since the corresponding [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter|BluetoothAdapter]] is already removed.


; Value type
; Value type
: [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter|BluetoothAdapter]]
: [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter|BluetoothAdapter]]
; Default value
: Null pointer


=== address ===
=== address ===
; Description
; Description
: The address of removed adapter.
: The address of removed adapter. The property is null for event handler [[B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#onadapteradded|manager.onadapteradded]] since [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter|BluetoothAdapter]] already has property [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#address|address]].


; Value type
; Value type
: DOMString
: DOMString
; Default value
: Empty string ("")
Confirmed users
891

edits