public class Route
Route provided by a route engine and used to draw an AR lane.
Constructor and Description |
---|
Route(RoutePoint[] points,
float eta,
java.lang.String sourceStreetName,
java.lang.String destinationStreetName)
Route provided by a route engine and used to draw an AR lane.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestinationStreetName()
Destination street name
|
float |
getEta()
Estimated time of arrival expressed in seconds
|
RoutePoint[] |
getPoints()
Array of points along the route
|
java.lang.String |
getSourceStreetName()
Source street name
|
public Route(RoutePoint[] points, float eta, java.lang.String sourceStreetName, java.lang.String destinationStreetName)
Route provided by a route engine and used to draw an AR lane.
points
- Array of points along the routeeta
- Estimated time of arrival expressed in secondssourceStreetName
- Source street namedestinationStreetName
- Destination street namepoints
- Array of points along the routeeta
- Estimated time of arrival expressed in secondssourceStreetName
- Source street namedestinationStreetName
- Destination street namepublic RoutePoint[] getPoints()
Array of points along the route
public float getEta()
Estimated time of arrival expressed in seconds
public java.lang.String getSourceStreetName()
Source street name
public java.lang.String getDestinationStreetName()
Destination street name