The members of Android.Locations.LocationManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | GpsProvider | string. Name of the GPS location provider. |
const | KeyLocationChanged | string. Key used for a Bundle extra holding a Location value when a location change is broadcast using a PendingIntent. |
const | KeyProviderEnabled | string. Key used for a Bundle extra holding an Boolean status value when a provider enabled/disabled event is broadcast using a PendingIntent. |
const | KeyProximityEntering | string. Key used for the Bundle extra holding a boolean indicating whether a proximity alert is entering (true) or exiting (false). |
const | KeyStatusChanged | string. Key used for a Bundle extra holding an Integer status value when a status change is broadcast using a PendingIntent. |
const | ModeChangedAction | string. Broadcast intent action when NoType:android/provider/Settings$Secure;Href=../../../reference/android/provider/Settings.Secure.html#LOCATION_MODE changes. |
const | NetworkProvider | string. Name of the network location provider. |
const | PassiveProvider | string. A special location provider for receiving locations without actually initiating a location fix. |
const | ProvidersChangedAction | string. Broadcast intent action when the configured location providers change. |
[read-only] | AllProviders | IList<string>. Returns a list of the names of all known location providers. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
AddGpsStatusListener(GpsStatus.IListener)Adds a GPS status listener. | ||
AddNmeaListener(GpsStatus.INmeaListener)Adds an NMEA listener. | ||
AddProximityAlert(double, double, float, long, Android.App.PendingIntent)Set a proximity alert for the location given by the position (latitude, longitude) and the given radius. | ||
AddTestProvider(string, bool, bool, bool, bool, bool, bool, bool, Power, Android.Hardware.SensorStatus)Creates a mock location provider and adds it to the set of active providers. | ||
ClearTestProviderEnabled(string)Removes any mock enabled value associated with the given provider. | ||
ClearTestProviderLocation(string)Removes any mock location associated with the given provider. | ||
ClearTestProviderStatus(string)Removes any mock status values associated with the given provider. | ||
static | FromContext(Android.Content.Context)Documentation for this section has not yet been entered. | |
GetBestProvider(Criteria, bool)Returns the name of the provider that best meets the given criteria. | ||
GetGpsStatus(GpsStatus)Retrieves information about the current status of the GPS engine. | ||
GetLastKnownLocation(string)Returns a Location indicating the data from the last known location fix obtained from the given provider. | ||
GetProvider(string)Returns the information associated with the location provider of the given name, or null if no provider exists by that name. | ||
GetProviders(bool)Returns a list of the names of location providers. | ||
GetProviders(Criteria, bool)Returns a list of the names of LocationProviders that satisfy the given criteria, or null if none do. | ||
IsProviderEnabled(string)Returns the current enabled/disabled status of the given provider. | ||
RemoveGpsStatusListener(GpsStatus.IListener)Removes a GPS status listener. | ||
RemoveNmeaListener(GpsStatus.INmeaListener)Removes an NMEA listener. | ||
RemoveProximityAlert(Android.App.PendingIntent)Removes the proximity alert with the given PendingIntent. | ||
RemoveTestProvider(string)Removes the mock location provider with the given name. | ||
RemoveUpdates(Android.App.PendingIntent)Removes all location updates for the specified pending intent. | ||
RemoveUpdates(ILocationListener)Removes all location updates for the specified LocationListener. | ||
RequestLocationUpdates(long, float, Criteria, Android.App.PendingIntent)Register for location updates using a Criteria and pending intent. | ||
RequestLocationUpdates(string, long, float, Android.App.PendingIntent)Register for location updates using the named provider, and a pending intent. | ||
RequestLocationUpdates(string, long, float, ILocationListener)Register for location updates using the named provider, and a pending intent. | ||
RequestLocationUpdates(long, float, Criteria, ILocationListener, Android.OS.Looper)Register for location updates using a Criteria, and a callback on the specified looper thread. | ||
RequestLocationUpdates(string, long, float, ILocationListener, Android.OS.Looper)Register for location updates using the named provider, and a callback on the specified looper thread. | ||
RequestSingleUpdate(Criteria, Android.App.PendingIntent)Register for a single location update using a Criteria and pending intent. | ||
RequestSingleUpdate(string, Android.App.PendingIntent)Register for a single location update using a named provider and pending intent. | ||
RequestSingleUpdate(Criteria, ILocationListener, Android.OS.Looper)Register for a single location update using a Criteria and a callback. | ||
RequestSingleUpdate(string, ILocationListener, Android.OS.Looper)Register for a single location update using the named provider and a callback. | ||
SendExtraCommand(string, string, Android.OS.Bundle)Sends additional commands to a location provider. | ||
SetTestProviderEnabled(string, bool)Sets a mock enabled value for the given provider. | ||
SetTestProviderLocation(string, Location)Sets a mock location for the given provider. | ||
SetTestProviderStatus(string, Availability, Android.OS.Bundle, long)Sets mock status values for the given provider. |