SignalStrength.GetCellSignalStrengths(Class) Method

Definition

Returns a List of CellSignalStrength Components of this SignalStrength Report.

[Android.Runtime.Register("getCellSignalStrengths", "(Ljava/lang/Class;)Ljava/util/List;", "GetGetCellSignalStrengths_Ljava_lang_Class_Handler", ApiSince=29)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.telephony.CellSignalStrength" })]
public virtual System.Collections.IList GetCellSignalStrengths (Java.Lang.Class clazz);
[<Android.Runtime.Register("getCellSignalStrengths", "(Ljava/lang/Class;)Ljava/util/List;", "GetGetCellSignalStrengths_Ljava_lang_Class_Handler", ApiSince=29)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T extends android.telephony.CellSignalStrength" })>]
abstract member GetCellSignalStrengths : Java.Lang.Class -> System.Collections.IList
override this.GetCellSignalStrengths : Java.Lang.Class -> System.Collections.IList

Parameters

clazz
Class

a class type that extends android.telephony.CellSignalStrength CellSignalStrength to filter possible return values.

Returns

a List of CellSignalStrength or an empty List if there are no valid measurements.

Attributes

Remarks

Returns a List of CellSignalStrength Components of this SignalStrength Report.

Use this API to access underlying android.telephony#CellSignalStrength CellSignalStrength objects that provide more granular information about the SignalStrength report. Only valid (non-empty) CellSignalStrengths will be returned. The order of any returned elements is not guaranteed, and the list may contain more than one instance of a CellSignalStrength type.

Java documentation for android.telephony.SignalStrength.getCellSignalStrengths(java.lang.Class<T>).

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