Methods Summary |
---|
public boolean | addGpsMeasurementsListener(android.location.IGpsMeasurementsListener listener, java.lang.String packageName)
|
public boolean | addGpsNavigationMessageListener(android.location.IGpsNavigationMessageListener listener, java.lang.String packageName)
|
public boolean | addGpsStatusListener(android.location.IGpsStatusListener listener, java.lang.String packageName)
|
public void | addTestProvider(java.lang.String name, com.android.internal.location.ProviderProperties properties)
|
public void | clearTestProviderEnabled(java.lang.String provider)
|
public void | clearTestProviderLocation(java.lang.String provider)
|
public void | clearTestProviderStatus(java.lang.String provider)
|
public boolean | geocoderIsPresent()
|
public java.util.List | getAllProviders()
|
public java.lang.String | getBestProvider(android.location.Criteria criteria, boolean enabledOnly)
|
public java.lang.String | getFromLocation(double latitude, double longitude, int maxResults, android.location.GeocoderParams params, java.util.List addrs)
|
public java.lang.String | getFromLocationName(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.Location | getLastLocation(android.location.LocationRequest request, java.lang.String packageName)
|
public com.android.internal.location.ProviderProperties | getProviderProperties(java.lang.String provider)
|
public java.util.List | getProviders(android.location.Criteria criteria, boolean enabledOnly)
|
public boolean | isProviderEnabled(java.lang.String provider)
|
public void | locationCallbackFinished(android.location.ILocationListener listener)
|
public boolean | providerMeetsCriteria(java.lang.String provider, android.location.Criteria criteria)
|
public void | removeGeofence(android.location.Geofence fence, android.app.PendingIntent intent, java.lang.String packageName)
|
public void | removeGpsMeasurementsListener(android.location.IGpsMeasurementsListener listener)
|
public void | removeGpsNavigationMessageListener(android.location.IGpsNavigationMessageListener listener)
|
public void | removeGpsStatusListener(android.location.IGpsStatusListener listener)
|
public void | removeTestProvider(java.lang.String provider)
|
public void | removeUpdates(android.location.ILocationListener listener, android.app.PendingIntent intent, java.lang.String packageName)
|
public void | reportLocation(android.location.Location location, boolean passive)
|
public void | requestGeofence(android.location.LocationRequest request, android.location.Geofence geofence, android.app.PendingIntent intent, java.lang.String packageName)
|
public void | requestLocationUpdates(android.location.LocationRequest request, android.location.ILocationListener listener, android.app.PendingIntent intent, java.lang.String packageName)
|
public boolean | sendExtraCommand(java.lang.String provider, java.lang.String command, android.os.Bundle extras)
|
public boolean | sendNiResponse(int notifId, int userResponse)
|
public void | setTestProviderEnabled(java.lang.String provider, boolean enabled)
|
public void | setTestProviderLocation(java.lang.String provider, android.location.Location loc)
|
public void | setTestProviderStatus(java.lang.String provider, int status, android.os.Bundle extras, long updateTime)
|