Share via


WifiManager.CalculateSignalLevel Method

Definition

Overloads

CalculateSignalLevel(Int32)
CalculateSignalLevel(Int32, Int32)

Calculates the level of the signal.

CalculateSignalLevel(Int32)

[Android.Runtime.Register("calculateSignalLevel", "(I)I", "GetCalculateSignalLevel_IHandler", ApiSince=30)]
public virtual int CalculateSignalLevel (int rssi);
[<Android.Runtime.Register("calculateSignalLevel", "(I)I", "GetCalculateSignalLevel_IHandler", ApiSince=30)>]
abstract member CalculateSignalLevel : int -> int
override this.CalculateSignalLevel : int -> int

Parameters

rssi
Int32

Returns

Attributes

Applies to

CalculateSignalLevel(Int32, Int32)

Calculates the level of the signal.

[Android.Runtime.Register("calculateSignalLevel", "(II)I", "")]
public static int CalculateSignalLevel (int rssi, int numLevels);
[<Android.Runtime.Register("calculateSignalLevel", "(II)I", "")>]
static member CalculateSignalLevel : int * int -> int

Parameters

rssi
Int32

The power of the signal measured in RSSI.

numLevels
Int32

The number of levels to consider in the calculated level.

Returns

Attributes

Remarks

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