Language

AdvertiseData.Builder.SetIncludeTxPowerLevel(Boolean) Method

Definition

Whether the transmission power level should be included in the advertise packet.

[Android.Runtime.Register("setIncludeTxPowerLevel", "(Z)Landroid/bluetooth/le/AdvertiseData$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseData.Builder? SetIncludeTxPowerLevel(bool includeTxPowerLevel);
[<Android.Runtime.Register("setIncludeTxPowerLevel", "(Z)Landroid/bluetooth/le/AdvertiseData$Builder;", "")>]
member this.SetIncludeTxPowerLevel : bool -> Android.Bluetooth.LE.AdvertiseData.Builder

Parameters

includeTxPowerLevel
Boolean

Returns

Attributes

Remarks

Whether the transmission power level should be included in the advertise packet. Tx power level field takes 3 bytes in advertise packet.

Android reference for android.bluetooth.le.AdvertiseData.Builder.setIncludeTxPowerLevel.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to