Language

AdvertisingSetParameters.Builder.SetIncludeTxPower(Boolean) Method

Definition

Set whether TX power should be included in the extended header.

[Android.Runtime.Register("setIncludeTxPower", "(Z)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetIncludeTxPower(bool includeTxPower);
[<Android.Runtime.Register("setIncludeTxPower", "(Z)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetIncludeTxPower : bool -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

Parameters

includeTxPower
Boolean

whether TX power should be included in extended header

Returns

Attributes

Remarks

Set whether TX power should be included in the extended header.

This is used only if legacy mode is not used.

Android reference for android.bluetooth.le.AdvertisingSetParameters.Builder.setIncludeTxPower.

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