Interface OnNavigationListener


  • public interface OnNavigationListener
    • Method Detail

      • onNavigationRequested

        void onNavigationRequested​(Navigation navigation)
        Called when the navigation to a given Poi/Location has been requested.
        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.