Windows.Devices.Bluetooth.Advertisement 命名空间

允许应用发送和接收蓝牙低功耗 (LE) 广告。

BluetoothLEAdvertisement

蓝牙 LE 播发有效负载的表示形式。

BluetoothLEAdvertisementBytePattern

要匹配的筛选器的蓝牙 LE 播发字节模式。

BluetoothLEAdvertisementDataSection

蓝牙 LE 广告部分。 蓝牙 LE 播发数据包可以包含这些 BluetoothLEAdvertisementDataSection 对象的多个实例。

BluetoothLEAdvertisementDataTypes

蓝牙特殊兴趣组 (SIG) 在通用访问配置文件 (GAP) 中定义的一些蓝牙 LE 播发类型。

BluetoothLEAdvertisementFilter

组参数,用于配置接收的蓝牙 LE 播发的基于有效负载的筛选。

BluetoothLEAdvertisementPublisher

用于发送蓝牙低功耗 (LE) 广告的对象。

BluetoothLEAdvertisementPublisherStatusChangedEventArgs

BluetoothLEAdvertisementPublisher 上的 StatusChanged 事件提供数据。

BluetoothLEAdvertisementReceivedEventArgs

提供 BluetoothLEAdvertisementWatcherReceived 事件的数据。 当 Received 事件发生在 BluetoothLEAdvertisementWatcher 对象上时,将创建 BluetoothLEAdvertisementReceivedEventArgs 实例。

BluetoothLEAdvertisementWatcher

用于接收蓝牙低功耗 (LE) 广告的对象。

BluetoothLEAdvertisementWatcherStoppedEventArgs

BluetoothLEAdvertisementWatcher 上的 Stopped 事件提供数据。 当 BluetoothLEAdvertisementWatcher 对象上发生 Stopped 事件时,将创建 BluetoothLEAdvertisementWatcherStoppedEventArgs 实例。

BluetoothLEManufacturerData

蓝牙 LE 制造商特定的数据部分 (一种特定类型的 LE 广告部分) 。 蓝牙 LE 播发数据包可以包含这些 BluetoothLEManufacturerData 对象的多个实例。

枚举

BluetoothLEAdvertisementFlags

定义常量,这些常量指定用于匹配蓝牙 LE 播发有效负载中包含的标志的标志。

BluetoothLEAdvertisementPublisherStatus

表示 BluetoothLEAdvertisementPublisher 的可能状态。

BluetoothLEAdvertisementType

指定不同类型的蓝牙 LE 播发有效负载。

BluetoothLEAdvertisementWatcherStatus

表示 BluetoothLEAdvertisementWatcher 的可能状态。

BluetoothLEScanningMode

定义指定蓝牙 LE 扫描模式的常量。

注解

Windows.Devices.Bluetooth.Advertisement 命名空间为应用提供了一组简单但功能强大的方法,可用于执行以下操作:

  • 使用可配置的筛选功能从蓝牙 LE 外围设备接收广告数据。
  • 发送蓝牙 LE 广告,允许应用作为信标广告的源运行。

此命名空间有两组用于以下各项的类:

  • 用于接收的广告观察程序。
  • 用于发送的广告发布者。

另请参阅