blob: 1cd29942fd1edad09467c87215aff31c61e8741a [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// 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/#bluetoothadvertisingevent
[
RuntimeEnabled=WebBluetoothScanning,
SecureContext
] interface BluetoothAdvertisingEvent : Event {
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;
readonly attribute BluetoothManufacturerDataMap manufacturerData;
readonly attribute BluetoothServiceDataMap serviceData;
};