mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Replace AdvertisingData with AdvertisingEvent
This commit is contained in:
parent
a2391162a1
commit
748b78a6bf
12 changed files with 237 additions and 99 deletions
|
@ -8,13 +8,11 @@
|
|||
interface BluetoothDevice : EventTarget {
|
||||
readonly attribute DOMString id;
|
||||
readonly attribute DOMString? name;
|
||||
// TODO: remove this after BluetoothAdvertisingEvent implemented.
|
||||
readonly attribute BluetoothAdvertisingData adData;
|
||||
readonly attribute BluetoothRemoteGATTServer gatt;
|
||||
|
||||
// Promise<void> watchAdvertisements();
|
||||
// void unwatchAdvertisements();
|
||||
// readonly attribute boolean watchingAdvertisements;
|
||||
Promise<void> watchAdvertisements();
|
||||
void unwatchAdvertisements();
|
||||
readonly attribute boolean watchingAdvertisements;
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue