Android.Locations.LocationManager Class
This class provides access to the system location services.

See Also: LocationManager Members

Syntax

[Android.Runtime.Register("android/location/LocationManager", DoNotGenerateAcw=true)]
public class LocationManager : Java.Lang.Object

Remarks

This class provides access to the system location services. These services allow applications to obtain periodic updates of the device's geographical location, or to fire an application-specified Android.Content.Intent when the device enters the proximity of a given geographical location.

You do not instantiate this class directly; instead, retrieve it through Android.Content.Context.GetSystemService(string).

Unless noted, all Location API methods require the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#ACCESS_COARSE_LOCATION or NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#ACCESS_FINE_LOCATION permissions. If your application only has the coarse permission then it will not have access to the GPS or passive location providers. Other providers will still return location results, but the update rate will be throttled and the exact location will be obfuscated to a coarse level of accuracy.

[Android Documentation]

Requirements

Namespace: Android.Locations
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1