Dela via


BluetoothLEAdvertisementPublisher.IncludeTransmitPowerLevel Property

Definition

Specifies whether the transmit power level is included in the advertisement header. Defaults to False.

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

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

Property Value

Boolean

bool

Indicates whether the transmit power level is included. 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 advertisement publisher must use the Extended Advertising format to utilize this API.

Applies to