HERE Android SDK Developer's Guide

VenueNavigationManagerListener

The interface VenueNavigationManagerListener is a member of com.here.android.mpa.venues3d.VenueNavigationManager.

Interface Summary

public static abstract interface VenueNavigationManager.VenueNavigationManagerListener

An interface for responding to navigation events sent by the VenueNavigationManager .

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in VenueNavigationManagerListener
Methods

public abstract void onCurrentManeuverChanged (VenueManeuver maneuver, VenueManeuver nextManeuver)

Called when the current (upcoming) maneuver is updated.

public abstract void onDestinationReached ()

Called when the destination of turn-by-turn navigation is reached.

public abstract void onPositionLost ()

Called when the navigation manager loses its indoor position.

public abstract void onPositionRestored ()

Called when the navigation manager finds its indoor position.

public abstract void onRerouteBegin ()

Called when rerouting is triggered due to the user leaving the current route section.

public abstract void onRerouteEnd ()

Called when rerouting, due to the user leaving the current route section, has finished.

public abstract void onRouteSectionUpdated (VenueRoute routeSection, CombinedRoute combinedRoute)

Called when a change is made to the route section being navigated.

Interface Details

An interface for responding to navigation events sent by the VenueNavigationManager .

Method Details

public abstract void onCurrentManeuverChanged (VenueManeuver maneuver, VenueManeuver nextManeuver)

Called when the current (upcoming) maneuver is updated. The "current" maneuver is the upcoming, or next, maneuver to be taken. The "next" maneuver is actually the maneuver to be taken after the current maneuver.

Parameters:

  • maneuver

    The current (upcoming) maneuver to be made.

  • nextManeuver

    The maneuver to be made AFTER THE CURRENT MANEUVER.

public abstract void onDestinationReached ()

Called when the destination of turn-by-turn navigation is reached.

public abstract void onPositionLost ()

Called when the navigation manager loses its indoor position.

public abstract void onPositionRestored ()

Called when the navigation manager finds its indoor position.

public abstract void onRerouteBegin ()

Called when rerouting is triggered due to the user leaving the current route section. If a new route section is successfully calculated, it is immediately applied to the current navigation session and onRouteSectionUpdated(VenueRoute, CombinedRoute) is called. After rerouting, the onRerouteEnd() is called.

public abstract void onRerouteEnd ()

Called when rerouting, due to the user leaving the current route section, has finished. This method just means an attempt to reroute finished and does not guarantee that a new route was successfully created.

public abstract void onRouteSectionUpdated (VenueRoute routeSection, CombinedRoute combinedRoute)

Called when a change is made to the route section being navigated. This can occur after successful rerouting due to the user leaving the current route (see onRerouteBegin()).

Parameters:

  • routeSection

    VenueRoute representing the route section that was set.

  • combinedRoute

    CombinedRoute representing the current route.