public static class GeofenceManager.Listener extends Object implements GeofenceListener, LocationListener
GeofenceManager. It is only public because
GeofenceListener classes must be public.| Constructor and Description |
|---|
Listener()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
locationUpdated(Location location)
Deprecated.
This method is been called by the system when Location is being updated
|
void |
onEntered(String id)
Deprecated.
This callback gets called once the device enters the Geofence area
|
void |
onExit(String id)
Deprecated.
This callback gets called once the device is out of the Geofence area
|
void |
providerStateChanged(int newState)
Deprecated.
This method is been called by the system when the provider state has
being Changed
|
public void onExit(String id)
GeofenceListeneronExit in interface GeofenceListenerpublic void onEntered(String id)
GeofenceListeneronEntered in interface GeofenceListenerpublic void locationUpdated(Location location)
LocationListenerlocationUpdated in interface LocationListenerlocation - a Location Objectpublic void providerStateChanged(int newState)
LocationListenerproviderStateChanged in interface LocationListenernewState - a new state one of the following:
LocationManager.AVAILABLE, LocationManager.OUT_OF_SERVICE or
LocationManager.TEMPORARILY_UNAVAILABLE