public interface

LocationListener

com.neomades.location.LocationListener

Class Overview

Used for receiving notifications from the LocationManager when the location has changed or cannot be found.

Summary

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.

Public Methods

public abstract void onLocationChanged (Location point)

Called when the location has changed. This callback will be called on a dedicated thread (not on the main UI-Thread).

Parameters
point The new location point

public abstract void onLocationFailed (LocationErrorStatus locationErrorStatus)

Called when the location cannot be found.

Parameters
locationErrorStatus the reason why the location search has failed