PhoneStateListener.OnCellInfoChanged(IList<CellInfo>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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")]
public virtual void OnCellInfoChanged (System.Collections.Generic.IList<Android.Telephony.CellInfo>? cellInfo);
[<Android.Runtime.Register("onCellInfoChanged", "(Ljava/util/List;)V", "GetOnCellInfoChanged_Ljava_util_List_Handler")>]
abstract member OnCellInfoChanged : System.Collections.Generic.IList<Android.Telephony.CellInfo> -> unit
override this.OnCellInfoChanged : System.Collections.Generic.IList<Android.Telephony.CellInfo> -> unit
Parameters
- 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 subId s from TelephonyManager
object which registers PhoneStateListener by TelephonyManager#listen(PhoneStateListener, int)
. If this TelephonyManager object was created with TelephonyManager#createForSubscriptionId(int)
, then the callback applies to the subId. Otherwise, this callback applies to SubscriptionManager#getDefaultSubscriptionId()
.
This member is deprecated. Use TelephonyCallback.CellInfoListener
instead.
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.