public interface LocationListener
Modifier and Type | Method and Description |
---|---|
void |
locationUpdated(Location location)
This method is been called by the system when Location is being updated
|
void |
providerStateChanged(int newState)
This method is been called by the system when the provider state has
being Changed
|
void locationUpdated(Location location)
location
- a Location Objectvoid providerStateChanged(int newState)
newState
- a new state one of the following:
LocationManager.AVAILABLE, LocationManager.OUT_OF_SERVICE or
LocationManager.TEMPORARILY_UNAVAILABLE