public interface IALocationListener
IALocationManager when location has changed.
Sample usage:
mLocationListener = new IALocationListener() {
public void onLocationChanged(IALocation location) {
// handle location change
}
public void onStatusChanged(String provider, int status, Bundle extras) {
// handle service status change
}
}
mLocationManager.requestLocationUpdates(IALocationRequest.create(), mLocationListener);
| Modifier and Type | Method and Description |
|---|---|
void |
onLocationChanged(IALocation location)
Called when the location has changed.
|
void |
onStatusChanged(java.lang.String provider,
int status,
android.os.Bundle extras)
Called when provider status changes.
|
void onLocationChanged(IALocation location)
There are no restrictions on the use of the supplied location object
location - the new locationvoid onStatusChanged(java.lang.String provider,
int status,
android.os.Bundle extras)
provider - always IndoorAtlasstatus - current status of the service, see IALocationManager for
STATUS_XXX constantsextras - an optional Bundle which contains extra status variables