TripWaypoint

public abstract class TripWaypoint extends Object

Object representing a TripWaypoint.

Nested Class Summary

@interface TripWaypoint.WaypointType Constant describing the role a waypoint plays on a trip route. 

Public Constructor Summary

Public Method Summary

abstract Integer
getDistanceMeters()
Returns the distance, in meters, to this waypoint from the previous waypoint (if there is one).
abstract Long
getETAMillis()
Returns the ETA to this waypoint as a timestamp in milliseconds.
abstract List<LatLng>
getPathToWaypoint()
Polyline representing the path to this waypoint from the previous waypoint.
abstract TerminalLocation
getTerminalLocation()
Location of this waypoint.
abstract TrafficData
getTrafficData()
Returns the TrafficData for the path leading to this waypoint.
abstract String
getTripId()
The trip this waypoint is part of.
abstract int
getWaypointType()
Describes the role this waypoint plays for the trip; for example, pickup or dropoff.

Inherited Method Summary

Public Constructors

public TripWaypoint ()

Public Methods

public abstract Integer getDistanceMeters ()

Returns the distance, in meters, to this waypoint from the previous waypoint (if there is one).

public abstract Long getETAMillis ()

Returns the ETA to this waypoint as a timestamp in milliseconds.

public abstract List<LatLng> getPathToWaypoint ()

Polyline representing the path to this waypoint from the previous waypoint.

public abstract TerminalLocation getTerminalLocation ()

Location of this waypoint.

public abstract TrafficData getTrafficData ()

Returns the TrafficData for the path leading to this waypoint.

public abstract String getTripId ()

The trip this waypoint is part of.

public abstract int getWaypointType ()

Describes the role this waypoint plays for the trip; for example, pickup or dropoff.