|
|
| Line 6: |
Line 6: |
| interface BluetoothAttributeEvent : Event | | interface BluetoothAttributeEvent : Event |
| { | | { |
| readonly attribute unsigned short [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#attr|attr]]; | | readonly attribute sequence<unsigned short> [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#attr|attr]]; |
| readonly attribute any [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAttributeEvent#value|value]];
| |
| // We don't support sequences in unions yet ([https://bugzilla.mozilla.org/show_bug.cgi?id=767924 Bug 767924]).
| |
| // readonly attribute ([[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#BluetoothAdapter|BluetoothAdapter]] or [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#BluetoothAdapterState|BluetoothAdapterState]] or
| |
| [[B2G/Bluetooth/WebBluetooth-v2/BluetoothClassOfDevice#Interface|BluetoothClassOfDevice]] or boolean or
| |
| DOMString or sequence<DOMString>) value;
| |
| }; | | }; |
|
| |
|