Share via


BluetoothLEAdvertisementWatcher.AllowExtendedAdvertisements Property

Definition

Enables reception of advertisements using the Extended Advertising format. Defaults to False.

public:
 property bool AllowExtendedAdvertisements { bool get(); void set(bool value); };
bool AllowExtendedAdvertisements();

void AllowExtendedAdvertisements(bool value);
public bool AllowExtendedAdvertisements { get; set; }
var boolean = bluetoothLEAdvertisementWatcher.allowExtendedAdvertisements;
bluetoothLEAdvertisementWatcher.allowExtendedAdvertisements = boolean;
Public Property AllowExtendedAdvertisements As Boolean

Property Value

Boolean

bool

Indicates whether advertisements of the Extended Advertising format can be received. The default value is False.

Windows requirements

Device family
Windows 10, version 2004 (introduced in 10.0.19041.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v10.0)

Remarks

The Extended Advertisement format allows for further customization of the advertising header. See the related APIs for more information.

Applies to