com.neomades.location.LocationListener |
Used for receiving notifications from the LocationManager
when the
location has changed or cannot be found.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onLocationChanged(Location point)
Called when the location has changed.
| ||||||||||
abstract void |
onLocationFailed(LocationErrorStatus locationErrorStatus)
Called when the location cannot be found.
|
Called when the location has changed. This callback will be called on a dedicated thread (not on the main UI-Thread).
point | The new location point |
---|
Called when the location cannot be found.
locationErrorStatus | the reason why the location search has failed |
---|