// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://webbluetoothcg.github.io/web-bluetooth/scanning.html#bluetoothlescan
[
Exposed=Window,
RuntimeEnabled=WebBluetoothScanning,
SecureContext
] interface BluetoothLEScan {
readonly attribute FrozenArray<BluetoothLEScanFilterInit> filters;
readonly attribute boolean keepRepeatedDevices;
readonly attribute boolean acceptAllAdvertisements;
readonly attribute boolean active;
void stop();
};