RouteResult

class RouteResult

A route result object contains output of route task's solve. A class that contains the output results from a route task. The route result contains all necessary output from a successfully- completed route task solve. This includes collection of routes, barriers and messages.

Properties

Link copied to clipboard
val directionsLanguage: String

Directions language. Language of directions.

Link copied to clipboard
val messages: List<String>

Messages. Messages received when solve is completed. If a route cannot be solved, the message returned by the server identifies the route that could not be solved.

Link copied to clipboard
val pointBarriers: List<PointBarrier>

Point barriers. Barriers are only returned if RouteParameters.getReturnPointBarriers() is true.

Link copied to clipboard
val polygonBarriers: List<PolygonBarrier>

Polygon barriers. Barriers are only returned if RouteParameters.getReturnPolygonBarriers() is true.

Link copied to clipboard
val polylineBarriers: List<PolylineBarrier>

Polyline barriers. Barriers are only returned if RouteParameters.getReturnPolylineBarriers() is true.

Link copied to clipboard
val routes: List<Route>

Routes. Each object represents a separate route with independent driving directions