Interface LocationListener
- All Known Implementing Classes:
GeofenceManager.Listener
public interface LocationListener
This is a Listener to the Locations events see
LocationManager.setLocationListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidlocationUpdated(Location location) This method is been called by the system when Location is being updatedvoidproviderStateChanged(int newState) This method is been called by the system when the provider state has being Changed
-
Method Details
-
locationUpdated
This method is been called by the system when Location is being updated
Parameters
location: a Location Object
-
providerStateChanged
void providerStateChanged(int newState) This method is been called by the system when the provider state has being Changed
Parameters
newState: @param newState a new state one of the following: LocationManager.AVAILABLE, LocationManager.OUT_OF_SERVICE or LocationManager.TEMPORARILY_UNAVAILABLE
-