共用方式為


Windows.Devices.Bluetooth.Advertisement 命名空間

允許應用程式傳送和接收藍牙低能源 (LE) 廣告。

類別

BluetoothLEAdvertisement

藍牙 LE 廣告承載的標記法。

BluetoothLEAdvertisementBytePattern

藍牙 LE 公告位元組模式,可讓篩選準則相符。

BluetoothLEAdvertisementDataSection

藍牙 LE 廣告區段。 藍牙 LE 公告封包可以包含這些 BluetoothLEAdvertisementDataSection 物件的多個實例。

BluetoothLEAdvertisementDataTypes

藍牙特殊興趣群組 (SIG) 在一般存取設定檔 (GAP) 中定義的一些藍牙 LE 廣告類型。

BluetoothLEAdvertisementFilter

將用來設定接收藍牙 LE 廣告承載型篩選的參數分組。

BluetoothLEAdvertisementPublisher

傳送藍牙低能源 (LE) 廣告的物件。

BluetoothLEAdvertisementPublisherStatusChangedEventArgs

提供BluetoothLEAdvertisementPublisherStatusChanged事件的資料。

BluetoothLEAdvertisementReceivedEventArgs

提供BluetoothLEAdvertisementWatcherReceived事件的資料。 BluetoothLEAdvertisementReceivedEventArgs 實例會在BluetoothLEAdvertisementWatcher物件上發生Received事件時建立。

BluetoothLEAdvertisementWatcher

接收藍牙低能源 (LE) 廣告的物件。

BluetoothLEAdvertisementWatcherStoppedEventArgs

提供BluetoothLEAdvertisementWatcherStopped事件的資料。 BluetoothLEAdvertisementWatcherStoppedEventArgs 實例會在BluetoothLEAdvertisementWatcher物件上發生Stopped事件時建立。

BluetoothLEManufacturerData

藍牙 LE 製造商特定資料區段 (一種特定類型的 LE 廣告區段) 。 藍牙 LE 公告封包可以包含這些 BluetoothLEManufacturerData 物件的多個實例。

列舉

BluetoothLEAdvertisementFlags

定義常數,指定用來比對藍牙 LE 廣告承載內含之旗標的旗標。

BluetoothLEAdvertisementPublisherStatus

代表 BluetoothLEAdvertisementPublisher的可能狀態。

BluetoothLEAdvertisementType

指定不同類型的藍牙 LE 廣告承載。

BluetoothLEAdvertisementWatcherStatus

代表 BluetoothLEAdvertisementWatcher的可能狀態。

BluetoothLEScanningMode

定義常數,指定藍牙 LE 掃描模式。

備註

Windows.Devices.Bluetooth.Advertisement 命名空間提供一組簡單但功能強大的方法來提供應用程式,以允許下列各項:

  • 使用可設定的篩選功能,從藍牙 LE 周邊接收廣告資料。
  • 傳送藍牙 LE 廣告,讓 app 以指標廣告的來源運作。

此命名空間有兩組用於下列專案的類別:

  • 用於接收的廣告監看員。
  • 用於傳送的廣告發行者。

另請參閱