BluetoothLEAdvertisementPublisher.UseExtendedAdvertisement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.