AdvertisingSetParameters.Builder.SetTxPowerLevel(AdvertiseTxPower) Method
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.
Set the transmission power level for the advertising.
[Android.Runtime.Register("setTxPowerLevel", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetTxPowerLevel(Android.Bluetooth.LE.AdvertiseTxPower txPowerLevel);
[<Android.Runtime.Register("setTxPowerLevel", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetTxPowerLevel : Android.Bluetooth.LE.AdvertiseTxPower -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder
Parameters
- txPowerLevel
- AdvertiseTxPower
Transmission power of Bluetooth LE Advertising, in dBm. The valid range is [-127, 20]. Recommended values are: AdvertisingSetParameters.TX_POWER_ULTRA_LOW, AdvertisingSetParameters.TX_POWER_LOW, AdvertisingSetParameters.TX_POWER_MEDIUM, or AdvertisingSetParameters.TX_POWER_HIGH.
Returns
- Attributes
Remarks
Set the transmission power level for the advertising.
Android reference for android.bluetooth.le.AdvertisingSetParameters.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.