Share via


TelephonyManager.CellInfoCallback.OnCellInfo(IList<CellInfo>) Method

Definition

Success response to android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate().

[Android.Runtime.Register("onCellInfo", "(Ljava/util/List;)V", "GetOnCellInfo_Ljava_util_List_Handler", ApiSince=29)]
public abstract void OnCellInfo (System.Collections.Generic.IList<Android.Telephony.CellInfo> cellInfo);
[<Android.Runtime.Register("onCellInfo", "(Ljava/util/List;)V", "GetOnCellInfo_Ljava_util_List_Handler", ApiSince=29)>]
abstract member OnCellInfo : System.Collections.Generic.IList<Android.Telephony.CellInfo> -> unit

Parameters

cellInfo
IList<CellInfo>

a list of CellInfo or an empty list.

        <code data-dev-comment-type="c">android.telephony.TelephonyManager#getAllCellInfo getAllCellInfo()</code>
Attributes

Remarks

Success response to android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate().

Invoked when there is a response to android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate() to provide a list of CellInfo. If no CellInfo is available then an empty list will be provided. If an error occurs, null will be provided unless the onError callback is overridden.

Java documentation for android.telephony.TelephonyManager.CellInfoCallback.onCellInfo(java.util.List<android.telephony.CellInfo>).

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