TelephonyCallback.ICellLocationListener.OnCellLocationChanged メソッド

定義

登録済みサブスクリプションでデバイス セルの場所が変更されたときに呼び出されるコールバック。

[Android.Runtime.Register("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", "GetOnCellLocationChanged_Landroid_telephony_CellLocation_Handler:Android.Telephony.TelephonyCallback/ICellLocationListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnCellLocationChanged (Android.Telephony.CellLocation location);
[<Android.Runtime.Register("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", "GetOnCellLocationChanged_Landroid_telephony_CellLocation_Handler:Android.Telephony.TelephonyCallback/ICellLocationListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnCellLocationChanged : Android.Telephony.CellLocation -> unit

パラメーター

location
CellLocation
属性

注釈

登録済みサブスクリプションでデバイス セルの場所が変更されたときに呼び出されるコールバック。 登録サブスクリプション ID は、 によってTelephonyManager#registerTelephonyCallback(Executor, TelephonyCallback)テレフォニーコールバックを登録する オブジェクトからTelephonyManager取得されます。 このテレフォニーManager オブジェクトが で TelephonyManager#createForSubscriptionId(int)作成された場合、コールバックはサブスクリプション ID に適用されます。 それ以外の場合、このコールバックは に SubscriptionManager#getDefaultSubscriptionId()適用されます。

の Java ドキュメント android.telephony.TelephonyCallback.CellLocationListener.onCellLocationChanged(android.telephony.CellLocation)

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象