Share via


BluetoothLEAdvertisementPublisher.UseExtendedAdvertisement Property

Definition

Specifies that the advertisement publisher should use the Extended Advertising format.

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

void UseExtendedAdvertisement(bool value);
public bool UseExtendedAdvertisement { get; set; }
var boolean = bluetoothLEAdvertisementPublisher.useExtendedAdvertisement;
bluetoothLEAdvertisementPublisher.useExtendedAdvertisement = boolean;
Public Property UseExtendedAdvertisement As Boolean

Property Value

Boolean

bool

Indicates whether or not the Extended Advertising format should be used. 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

Enabling the Extended Advertising format is necessary to enable several other related properties of the BluetoothLEAdvertisementPublisher class.

Applies to

See also