Lingua

AdvertiseSettings.Builder.SetTxPowerLevel(AdvertiseTx) Method

Definition

Set advertise TX power level to control the transmission power level for the advertising.

[Android.Runtime.Register("setTxPowerLevel", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")]
public Android.Bluetooth.LE.AdvertiseSettings.Builder? SetTxPowerLevel(Android.Bluetooth.LE.AdvertiseTx txPowerLevel);
[<Android.Runtime.Register("setTxPowerLevel", "(I)Landroid/bluetooth/le/AdvertiseSettings$Builder;", "")>]
member this.SetTxPowerLevel : Android.Bluetooth.LE.AdvertiseTx -> Android.Bluetooth.LE.AdvertiseSettings.Builder

Parameters

txPowerLevel
AdvertiseTx

Transmission power of Bluetooth LE Advertising, can only be one of AdvertiseSettings.ADVERTISE_TX_POWER_ULTRA_LOW, AdvertiseSettings.ADVERTISE_TX_POWER_LOW, AdvertiseSettings.ADVERTISE_TX_POWER_MEDIUM or AdvertiseSettings.ADVERTISE_TX_POWER_HIGH.

Returns

Attributes

Remarks

Set advertise TX power level to control the transmission power level for the advertising.

Android reference for android.bluetooth.le.AdvertiseSettings.Builder.setTxPowerLevel.

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