PhoneStateListener.OnCellLocationChanged(CellLocation) Method

Definition

Caution

deprecated

Callback invoked when device cell location changes on the registered subscription.

[Android.Runtime.Register("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", "GetOnCellLocationChanged_Landroid_telephony_CellLocation_Handler")]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_FINE_LOCATION")]
[System.Obsolete("deprecated")]
public virtual void OnCellLocationChanged (Android.Telephony.CellLocation? location);
[<Android.Runtime.Register("onCellLocationChanged", "(Landroid/telephony/CellLocation;)V", "GetOnCellLocationChanged_Landroid_telephony_CellLocation_Handler")>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_FINE_LOCATION")>]
[<System.Obsolete("deprecated")>]
abstract member OnCellLocationChanged : Android.Telephony.CellLocation -> unit
override this.OnCellLocationChanged : Android.Telephony.CellLocation -> unit

Parameters

location
CellLocation
Attributes

Remarks

Java documentation for android.telephony.PhoneStateListener.onCellLocationChanged(android.telephony.CellLocation).

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