Page Summary
-
Routerepresents the navigation path of a trip, encompassing both active and remaining segments. -
It includes an active route indicating the path between the driver and the consumer's immediate destination.
-
It also includes a remaining route, which is the path from the consumer's immediate stop to their final destination.
-
The
Routeclass provides agetWaypointsmethod to access a list of LatLng points representing the route's path. -
It can be constructed using a builder pattern via the
builder()method.
Represents navigation route of a trip.
Active route - the route between the driver and the consumer's immediate destination. Remaining route - the route between the consumer's immediate destination and final destination.
Nested Class Summary
| class | Route.Builder | Builds
Route instance. |
|
Public Constructor Summary
|
Route()
|
Public Method Summary
| static Route.Builder |
builder()
|
| abstract List<LatLng> |
getWaypoints()
Represents sequenced waypoints on the route.
|
Inherited Method Summary
Public Constructors
public Route ()
Public Methods
public static Route.Builder builder ()
public abstract List<LatLng> getWaypoints ()
Represents sequenced waypoints on the route.