ProjectedRouteEta

public abstract class ProjectedRouteEta extends Object

Represents the ETA information of the projected route on Consumer Map UI.

The projected route is the polyline drawn until the next waypoint and data is calculated based on the vehicle movement while animating on the route polyline.

Nested Class Summary

class ProjectedRouteEta.Builder Builds ProjectedRouteEta instance. 

Public Constructor Summary

Public Method Summary

static ProjectedRouteEta.Builder
abstract Double
getDistanceMeters()
Represents the distance in meters to the next waypoint.
abstract Long
getRemainingTimeSeconds()
Represents the remaining time in seconds until arriving in the next waypoint.

Inherited Method Summary

Public Constructors

public ProjectedRouteEta ()

Public Methods

public static ProjectedRouteEta.Builder builder ()

public abstract Double getDistanceMeters ()

Represents the distance in meters to the next waypoint.

public abstract Long getRemainingTimeSeconds ()

Represents the remaining time in seconds until arriving in the next waypoint.