FileDocCategorySizeDatePackage
ILocationManager.javaAPI DocAndroid 5.1 API42794Sat Mar 14 05:48:10 GMT 2015android.location

ILocationManager

public interface ILocationManager implements android.os.IInterface
System private API for talking with the location service.
hide

Fields Summary
Constructors Summary
Methods Summary
public booleanaddGpsMeasurementsListener(android.location.IGpsMeasurementsListener listener, java.lang.String packageName)

public booleanaddGpsNavigationMessageListener(android.location.IGpsNavigationMessageListener listener, java.lang.String packageName)

public booleanaddGpsStatusListener(android.location.IGpsStatusListener listener, java.lang.String packageName)

public voidaddTestProvider(java.lang.String name, com.android.internal.location.ProviderProperties properties)

public voidclearTestProviderEnabled(java.lang.String provider)

public voidclearTestProviderLocation(java.lang.String provider)

public voidclearTestProviderStatus(java.lang.String provider)

public booleangeocoderIsPresent()

public java.util.ListgetAllProviders()

public java.lang.StringgetBestProvider(android.location.Criteria criteria, boolean enabledOnly)

public java.lang.StringgetFromLocation(double latitude, double longitude, int maxResults, android.location.GeocoderParams params, java.util.List addrs)

public java.lang.StringgetFromLocationName(java.lang.String locationName, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude, int maxResults, android.location.GeocoderParams params, java.util.List addrs)

public android.location.LocationgetLastLocation(android.location.LocationRequest request, java.lang.String packageName)

public com.android.internal.location.ProviderPropertiesgetProviderProperties(java.lang.String provider)

public java.util.ListgetProviders(android.location.Criteria criteria, boolean enabledOnly)

public booleanisProviderEnabled(java.lang.String provider)

public voidlocationCallbackFinished(android.location.ILocationListener listener)

public booleanproviderMeetsCriteria(java.lang.String provider, android.location.Criteria criteria)

public voidremoveGeofence(android.location.Geofence fence, android.app.PendingIntent intent, java.lang.String packageName)

public voidremoveGpsMeasurementsListener(android.location.IGpsMeasurementsListener listener)

public voidremoveGpsNavigationMessageListener(android.location.IGpsNavigationMessageListener listener)

public voidremoveGpsStatusListener(android.location.IGpsStatusListener listener)

public voidremoveTestProvider(java.lang.String provider)

public voidremoveUpdates(android.location.ILocationListener listener, android.app.PendingIntent intent, java.lang.String packageName)

public voidreportLocation(android.location.Location location, boolean passive)

public voidrequestGeofence(android.location.LocationRequest request, android.location.Geofence geofence, android.app.PendingIntent intent, java.lang.String packageName)

public voidrequestLocationUpdates(android.location.LocationRequest request, android.location.ILocationListener listener, android.app.PendingIntent intent, java.lang.String packageName)

public booleansendExtraCommand(java.lang.String provider, java.lang.String command, android.os.Bundle extras)

public booleansendNiResponse(int notifId, int userResponse)

public voidsetTestProviderEnabled(java.lang.String provider, boolean enabled)

public voidsetTestProviderLocation(java.lang.String provider, android.location.Location loc)

public voidsetTestProviderStatus(java.lang.String provider, int status, android.os.Bundle extras, long updateTime)