BluetoothLEAdvertisementFlags Enum

Definition

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

This enumeration supports a bitwise combination of its member values.

public enum class BluetoothLEAdvertisementFlags
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class BluetoothLEAdvertisementFlags
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum BluetoothLEAdvertisementFlags
var value = Windows.Devices.Bluetooth.Advertisement.BluetoothLEAdvertisementFlags.none
Public Enum BluetoothLEAdvertisementFlags
Inheritance
BluetoothLEAdvertisementFlags
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
bluetooth

Fields

Name Value Description
None 0

Specifies no flag.

LimitedDiscoverableMode 1

Specifies Bluetooth LE Limited Discoverable Mode.

GeneralDiscoverableMode 2

Specifies Bluetooth LE General Discoverable Mode.

ClassicNotSupported 4

Specifies Bluetooth BR/EDR not supported.

DualModeControllerCapable 8

Specifies simultaneous Bluetooth LE and BR/EDR to same device capable (controller).

DualModeHostCapable 16

Specifies simultaneous Bluetooth LE and BR/EDR to same device capable (host)

Applies to