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

Line 10: Line 10:


== Properties ==
== Properties ==
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#attr|BluetoothAttributeEvent.attr]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#attrs|BluetoothAttributeEvent.attrs]]
* [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#value|BluetoothAttributeEvent.value]]


=== attr ===
=== attrs ===
; Description
; Description
: The changed attribute's enumeration value. The enumeration is either [[B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#BluetoothManagerAttribute|BluetoothManagerAttribute]], [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#BluetoothAdapterAttribute|BluetoothAdapterAttribute]], or [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#BluetoothDeviceAttribute|BluetoothDeviceAttribute]].
: The array of changed attribute's enumeration value. The enumeration values are either [[B2G/Bluetooth/WebBluetooth-v2/BluetoothManager#BluetoothManagerAttribute|BluetoothManagerAttribute]], [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#BluetoothAdapterAttribute|BluetoothAdapterAttribute]], or [[B2G/Bluetooth/WebBluetooth-v2/BluetoothDevice#BluetoothDeviceAttribute|BluetoothDeviceAttribute]].


; Value type
; Value type
: unsigned short
: sequence<unsigned short>
 
=== value ===
; Description
: The updated value of the changed attribute. Its type depends on [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#attribute|attr]]'s type.
 
; Value type
: any
Confirmed users
891

edits