HERE Android SDK Developer's Guide

Listener

The interface Listener is a member of com.here.android.mpa.routing.RouteManager.

Interface Summary

public static abstract interface RouteManager.Listener

Represents a listener to provide information about RouteManager events.\

[For complete information, see the section Interface Details]

See also:

calculateRoute(RoutePlan, Listener)

Method Summary

Table 1. Methods in Listener
Methods

public abstract void onCalculateRouteFinished (Error errorCode, java.util.List <RouteResult> routeResults)

A callback indicating that a route calculation operation has finished.

public abstract void onProgress (int percentage)

A callback indicating the progress level of the current route calculation operation, a percentage value within the range of [0..100].

Interface Details

Represents a listener to provide information about RouteManager events.\

See also:

calculateRoute(RoutePlan, Listener)

Method Details

public abstract void onCalculateRouteFinished (Error errorCode, java.util.List <RouteResult> routeResults)

A callback indicating that a route calculation operation has finished. In the case of VIOLATES_OPTIONS, one or more RouteResult in the returned list contains a list of violated RouteOptions . For other java.lang.Error , the list size of RouteResult will be 0.

Parameters:

  • errorCode

    A java.lang.Error indicating the error code for the route calculation (could be NONE)

  • routeResults

    A List of RouteResult

See also:

getViolatedOptions()

public abstract void onProgress (int percentage)

A callback indicating the progress level of the current route calculation operation, a percentage value within the range of [0..100]. Note that in certain circumstances a recalculation is required and this percentage will go from 100 to 0.

Parameters:

  • percentage

    Progress completion percentage

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.