TelephonyCallback.ICellInfoListener.OnCellInfoChanged Method

Definition

Callback invoked when a observed cell info has changed or new cells have been added or removed on the registered subscription.

[Android.Runtime.Register("onCellInfoChanged", "(Ljava/util/List;)V", "GetOnCellInfoChanged_Ljava_util_List_Handler:Android.Telephony.TelephonyCallback/ICellInfoListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnCellInfoChanged (System.Collections.Generic.IList<Android.Telephony.CellInfo> cellInfo);
[<Android.Runtime.Register("onCellInfoChanged", "(Ljava/util/List;)V", "GetOnCellInfoChanged_Ljava_util_List_Handler:Android.Telephony.TelephonyCallback/ICellInfoListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnCellInfoChanged : System.Collections.Generic.IList<Android.Telephony.CellInfo> -> unit

Parameters

cellInfo
IList<CellInfo>

is the list of currently visible cells.

Attributes

Remarks

Callback invoked when a observed cell info has changed or new cells have been added or removed on the registered subscription. Note, the registration subscription ID s from TelephonyManager object which registers TelephonyCallback by TelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback). If this TelephonyManager object was created with TelephonyManager#createForSubscriptionId(int), then the callback applies to the subscription ID. Otherwise, this callback applies to SubscriptionManager#getDefaultSubscriptionId().

Java documentation for android.telephony.TelephonyCallback.CellInfoListener.onCellInfoChanged(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