TelephonyManager.CellLocation Property

Definition

Caution

deprecated

Returns the current location of the device.

[System.Obsolete("deprecated")]
public virtual Android.Telephony.CellLocation? CellLocation { [Android.Runtime.Register("getCellLocation", "()Landroid/telephony/CellLocation;", "GetGetCellLocationHandler")] [Android.Runtime.RequiresPermission("android.permission.ACCESS_FINE_LOCATION")] get; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getCellLocation", "()Landroid/telephony/CellLocation;", "GetGetCellLocationHandler")>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_FINE_LOCATION")>]
member this.CellLocation : Android.Telephony.CellLocation

Property Value

CellLocation

Current location of the device or null if not available.

Attributes

Remarks

Java documentation for android.telephony.TelephonyManager.getCellLocation().

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