Lingua

ScanSettings.Builder.SetRssiThreshold(Int32) Method

Definition

Sets the RSSI threshold.

[Android.Runtime.Register("setRssiThreshold", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.LE.ScanSettings.Builder SetRssiThreshold(int rssiThreshold);
[<Android.Runtime.Register("setRssiThreshold", "(I)Landroid/bluetooth/le/ScanSettings$Builder;", "", ApiSince=36)>]
member this.SetRssiThreshold : int -> Android.Bluetooth.LE.ScanSettings.Builder

Parameters

rssiThreshold
Int32

the high threshold of RSSI value. The valid range is [-127, 126].

Returns

this builder. This value cannot be null.

Attributes

Remarks

Sets the RSSI threshold. When filtering by RSSI threshold, an advertisement will pass the filter only if its RSSI value is greater than or equal to the specified threshold.

Android reference for android.bluetooth.le.ScanSettings.Builder.setRssiThreshold.

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