Delen via


Windows.Devices.Bluetooth.Advertisement Namespace

Allow apps to send and receive Bluetooth Low Energy (LE) advertisements.

Classes

BluetoothLEAdvertisement

A representation of a Bluetooth LE advertisement payload.

BluetoothLEAdvertisementBytePattern

A Bluetooth LE advertisement byte pattern for filters to match.

BluetoothLEAdvertisementDataSection

A Bluetooth LE advertisement section. A Bluetooth LE advertisement packet can contain multiple instances of these BluetoothLEAdvertisementDataSection objects.

BluetoothLEAdvertisementDataTypes

Some of the Bluetooth LE advertisement types defined in the Generic Access Profile (GAP) by the Bluetooth Special Interest Group (SIG).

BluetoothLEAdvertisementFilter

Groups parameters used to configure payload-based filtering of received Bluetooth LE advertisements.

BluetoothLEAdvertisementPublisher

An object to send Bluetooth Low Energy (LE) advertisements.

BluetoothLEAdvertisementPublisherStatusChangedEventArgs

Provides data for a StatusChanged event on a BluetoothLEAdvertisementPublisher.

BluetoothLEAdvertisementReceivedEventArgs

Provides data for a Received event on a BluetoothLEAdvertisementWatcher. A BluetoothLEAdvertisementReceivedEventArgs instance is created when the Received event occurs on a BluetoothLEAdvertisementWatcher object.

BluetoothLEAdvertisementScanParameters
BluetoothLEAdvertisementWatcher

An object to receive Bluetooth Low Energy (LE) advertisements.

BluetoothLEAdvertisementWatcherStoppedEventArgs

Provides data for a Stopped event on a BluetoothLEAdvertisementWatcher. A BluetoothLEAdvertisementWatcherStoppedEventArgs instance is created when the Stopped event occurs on a BluetoothLEAdvertisementWatcher object.

BluetoothLEManufacturerData

A Bluetooth LE manufacturer-specific data section (one particular type of LE advertisement section). A Bluetooth LE advertisement packet can contain multiple instances of these BluetoothLEManufacturerData objects.

Enums

BluetoothLEAdvertisementFlags

Defines constants that specify flags used to match flags contained inside a Bluetooth LE advertisement payload.

BluetoothLEAdvertisementPhyType
BluetoothLEAdvertisementPublisherStatus

Represents the possible states of the BluetoothLEAdvertisementPublisher.

BluetoothLEAdvertisementType

Specifies the different types of Bluetooth LE advertisement payloads.

BluetoothLEAdvertisementWatcherStatus

Represents the possible states of the BluetoothLEAdvertisementWatcher.

BluetoothLEScanningMode

Defines constants that specify a Bluetooth LE scanning mode.

Remarks

The Windows.Devices.Bluetooth.Advertisement namespace provides an app with a simple but powerful set of methods that allow the following:

  • Receive advertisement data from Bluetooth LE peripherals with configurable filtering capabilities.
  • Send out Bluetooth LE advertisements allowing the app to operate as a source of beacon advertisements.

This namespace has two sets of classes used for the following:

  • Advertisement watcher for receiving.
  • Advertisement publisher for sending.

See also