diff --git a/scanning.bs b/scanning.bs index 1a38063..6a0413d 100644 --- a/scanning.bs +++ b/scanning.bs @@ -220,7 +220,7 @@ spec:web-bluetooth a {{BluetoothLEScanFilter}} in an active {{BluetoothLEScan}} cause {{advertisementreceived}} events to be dispatched to the sending {{BluetoothDevice}}. - A filter matches if the advertisement includes data equal to each present member. + A filter matches if the advertisement includes data equal to each present member. Usually, you'll only include one member in each filter.
@@ -344,24 +344,24 @@ spec:web-bluetooth
- [Constructor(optional BluetoothDataFilterInit init)]
interface BluetoothDataFilter {
+ constructor(optional BluetoothDataFilterInit init);
readonly attribute ArrayBuffer dataPrefix;
readonly attribute ArrayBuffer mask;
};
- [Constructor(optional object init)]
interface BluetoothManufacturerDataFilter {
+ constructor(optional object init);
readonly maplike<unsigned short, BluetoothDataFilter>;
};
- [Constructor(optional object init)]
interface BluetoothServiceDataFilter {
+ constructor(optional object init);
readonly maplike<UUID, BluetoothDataFilter>;
};
- [Constructor(optional BluetoothLEScanFilterInit init)]
interface BluetoothLEScanFilter {
+ constructor(optional BluetoothLEScanFilterInit init);
readonly attribute DOMString? name;
readonly attribute DOMString? namePrefix;
readonly attribute FrozenArray<UUID>? services;
@@ -417,7 +417,7 @@ spec:web-bluetooth
{{BluetoothUUID/getService()|BluetoothUUID.getService}}(|init|.{{BluetoothLEScanFilterInit/services}}
.