Update WebBluetooth webidl files

This commit is contained in:
Zakor Gyula 2017-02-01 14:12:13 +01:00 committed by Attila Dusnoki
parent da89099e26
commit 706cffbca8
10 changed files with 48 additions and 45 deletions

View file

@ -12,13 +12,16 @@ interface BluetoothServiceDataMap {
};*/
[Pref="dom.bluetooth.enabled", Constructor(DOMString type, BluetoothAdvertisingEventInit init)]
interface BluetoothAdvertisingEvent : Event {
[SameObject]
readonly attribute BluetoothDevice device;
// readonly attribute FrozenArray<UUID> uuids;
readonly attribute DOMString? name;
readonly attribute unsigned short? appearance;
readonly attribute byte? txPower;
readonly attribute byte? rssi;
// [SameObject]
// readonly attribute BluetoothManufacturerDataMap manufacturerData;
// [SameObject]
// readonly attribute BluetoothServiceDataMap serviceData;
};
dictionary BluetoothAdvertisingEventInit : EventInit {