|Modifier and Type||Method and Description|
Called when a faster, alternate route has been found.
Called when a traffic update is received for one or more leg of the current route being navigated.
void onTrafficUpdated(java.util.Map<java.lang.String,Traffic> trafficUpdatesByLegId)
Note that traffic conditions may or may not have actually changed between subsequent invocations of this listener method -- i.e. for any given route-leg, the same values might be delivered more than once via this method.
Trafficupdates, keyed by their corresponding leg-IDs.
void onTrafficRerouteFound(Route route)
route- the alternate route that is recommended over the current route.