Confirmed users
891
edits
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
== Interface == | == Interface == | ||
[ | [CheckPermissions="bluetooth"] | ||
interface BluetoothAdapterEvent : Event | interface BluetoothAdapterEvent : Event | ||
{ | { | ||
Line 9: | Line 9: | ||
readonly attribute DOMString? [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|address]]; | readonly attribute DOMString? [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|address]]; | ||
}; | }; | ||
== Properties == | == Properties == | ||
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|BluetoothAdapterEvent.adapter]] | * [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#adapter|BluetoothAdapterEvent.adapter]] | ||
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|BluetoothAdapterEvent.address]] | * [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapterEvent#address|BluetoothAdapterEvent.address]] | ||
=== adapter === | === adapter === | ||
Line 33: | Line 23: | ||
=== address === | === address === | ||
; Description | ; Description | ||
: The address of removed adapter. The property is | : The address of removed adapter. The property is empty string 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 |