HERE Android SDK Developer's Guide

RerouteListener

The class RerouteListener is a member of com.here.android.mpa.guidance.NavigationManager.

Class Summary

public static abstract class NavigationManager.RerouteListener

extends java.lang.Object

RerouteListener provides callback of route re-calculation related events from NavigationManager .

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in RerouteListener
Constructors

RerouteListener ()

Method Summary

Table 2. Methods in RerouteListener
Methods

public void onRerouteBegin ()

Callback for Re-route begin event.

public void onRerouteEnd (Route route)

Callback for Re-route end event.

public void onRerouteFailed ()

Callback for Re-route failure event.

Class Details

RerouteListener provides callback of route re-calculation related events from NavigationManager . By default, empty implementations are provided for each callback method, users may selectively overload specific methods that are of interest.

Note that this is different from route re-calculation due to traffic avoidance, instead, this normally triggered when user strays away from course. See NavigationManager.TrafficAvoidanceMode.

Constructor Details

RerouteListener ()

Method Details

public void onRerouteBegin ()

Callback for Re-route begin event.

public void onRerouteEnd (Route route)

Callback for Re-route end event.

Parameters:

  • route

public void onRerouteFailed ()

Callback for Re-route failure event.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.