HERE Android SDK Developer's Guide

Listener

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

Interface Summary

public static abstract interface UMRouter.Listener

   extends com.here.android.mpa.routing.Router.Listener

Represents a listener to provide information about route calculation events.

[For complete information, see the section Interface Details]

See also:

calculateRoute(RoutePlan, Listener<UMCalculateResult, ErrorCode>)

Method Summary

Table 1. Methods in Listener
Methods

public abstract void onCalculateRouteFinished (UMCalculateResult response, ErrorCode error)

A callback indicating that Urban Mobility route calculation operation has finished.

Interface Details

Represents a listener to provide information about route calculation events.

See also:

calculateRoute(RoutePlan, Listener<UMCalculateResult, ErrorCode>)

Method Details

public abstract void onCalculateRouteFinished (UMCalculateResult response, ErrorCode error)

A callback indicating that Urban Mobility route calculation operation has finished.

Parameters:

  • response

    A UMCalculateResult contains Urban Mobility specific result and/or errors.

  • error