HERE Android SDK Developer's Guide

OnRemoveFromRouteListener

The interface OnRemoveFromRouteListener is a member of com.here.android.mpa.nlp.Nlp.

Interface Summary

public static abstract interface Nlp.OnRemoveFromRouteListener

   extends com.here.android.mpa.nlp.Nlp.ListenerBase

Listener interface to notify user that a stopover is removed from the route

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnRemoveFromRouteListener
Methods

public abstract void onRemovedFromRoute (Error error, PlaceLink stopover)

A callback after a stopover is removed from the preferred route.

Interface Details

Listener interface to notify user that a stopover is removed from the route

Method Details

A callback after a stopover is removed from the preferred route. e.g. "Remove stopover" When the callback is received, the application is responsible for removing the stopover from the route display, if desired.

Parameters:

  • error

    Error status for removing the stopover from the route

  • stopover

    PlaceLink object of the stopover removed from the route