ConsumerController.OnProjectedRouteUpdateCallback

public static abstract class ConsumerController.OnProjectedRouteUpdateCallback extends Object

Callback invoked when the vehicle marker moves along the projected route polyline.

Note: Projected ETAs are calculated based on the vehicle animation on the map UI. Due to the nature of the animation, the projected ETA is always behind the current ETA returned by TripInfo.

Public Constructor Summary

Public Method Summary

void
onProjectedRouteUpdate(ProjectedRouteEta projectedRouteEta)
Called with projected ETA based on the vehicle movement on Consumer Map UI.

Inherited Method Summary

Public Constructors

public OnProjectedRouteUpdateCallback ()

Public Methods

public void onProjectedRouteUpdate (ProjectedRouteEta projectedRouteEta)

Called with projected ETA based on the vehicle movement on Consumer Map UI.