addFasterRouteListener

This adds a new faster route listener which is invoked when a new, faster DirectionsRoute has been retrieved by the specified criteria in FasterRoute.

The behavior that causes this listeners callback to get invoked vary depending on whether a custom faster route engine has been set using .setFasterRouteEngine.

It is not possible to add the same listener implementation more then once and a warning will be printed in the log if attempted.

Since

0.9.0

Parameters

fasterRouteListener

an implementation of FasterRouteListener

See also