Android.Locations.LocationManager: Method Members

The methods of Android.Locations.LocationManager are listed below. For a list of all members, see the LocationManager Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

AddGpsStatusListener(GpsStatus.IListener) : bool
Adds a GPS status listener.
AddNmeaListener(GpsStatus.INmeaListener) : bool
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) : LocationManager
Documentation for this section has not yet been entered.
GetBestProvider(Criteria, bool) : string
Returns the name of the provider that best meets the given criteria.
GetGpsStatus(GpsStatus) : GpsStatus
Retrieves information about the current status of the GPS engine.
GetLastKnownLocation(string) : Location
Returns a Location indicating the data from the last known location fix obtained from the given provider.
GetProvider(string) : LocationProvider
Returns the information associated with the location provider of the given name, or null if no provider exists by that name.
GetProviders(bool) : IList<string>
Returns a list of the names of location providers.
GetProviders(Criteria, bool) : IList<string>
Returns a list of the names of LocationProviders that satisfy the given criteria, or null if none do.
IsProviderEnabled(string) : bool
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) : bool
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.