Package es.situm.wayfinding.navigation
Interface OnNavigationListener
-
public interface OnNavigationListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onNavigationError(Navigation navigation, NavigationError error)
Called when an error is produced during navigation.void
onNavigationFinished(Navigation navigation)
Called when the navigation toa given Poi/Location finishes due to: The user has reached the destination. The navigation has been canceled.void
onNavigationRequested(Navigation navigation)
Called when the navigation to a given Poi/Location has been requested.void
onNavigationStarted(Navigation navigation)
Route was computed and navigation started.
-
-
-
Method Detail
-
onNavigationRequested
void onNavigationRequested(Navigation navigation)
Called when the navigation to a given Poi/Location has been requested.- Parameters:
navigation
-Navigation
object.
-
onNavigationStarted
void onNavigationStarted(Navigation navigation)
Route was computed and navigation started.- Parameters:
navigation
-Navigation
object.
-
onNavigationError
void onNavigationError(Navigation navigation, NavigationError error)
Called when an error is produced during navigation.- Parameters:
navigation
-Navigation
object.error
- The error.
-
onNavigationFinished
void onNavigationFinished(Navigation navigation)
Called when the navigation toa given Poi/Location finishes due to:- The user has reached the destination.
- The navigation has been canceled.
- Parameters:
navigation
-Navigation
object. Contains information about the final status.
-
-