Module com.esri.arcgisruntime
Class RouteResult
java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.RouteResult
Represents the result of
RouteTask.solveRouteAsync(RouteParameters)
. The result is a collection of computed
routes, barriers used in the computation, and messages generated during the process.- Since:
- 100.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the language used when computing directions.Gets the informational messages that were generated while computing routes.Gets the point barriers used in the route computation.Gets the polygon barriers used in the route computation.Gets the polyline barriers used in the route computation.Gets the List of routes.
-
Method Details
-
getDirectionsLanguage
Gets the language used when computing directions. The list of supported languages can be obtained by callingRouteTaskInfo.getSupportedLanguages()
.- Returns:
- the directions language
- Since:
- 100.0.0
-
getMessages
Gets the informational messages that were generated while computing routes.- Returns:
- an unmodifiable list of the messages
- Since:
- 100.0.0
-
getPointBarriers
Gets the point barriers used in the route computation. Only available ifRouteParameters.setReturnPointBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the point barriers
- Since:
- 100.0.0
- See Also:
-
getPolylineBarriers
Gets the polyline barriers used in the route computation. Only available ifRouteParameters.setReturnPolylineBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the polyline barriers
- Since:
- 100.0.0
- See Also:
-
getPolygonBarriers
Gets the polygon barriers used in the route computation. Only available ifRouteParameters.setReturnPolygonBarriers(boolean)
is set.- Returns:
- an unmodifiable list of the polygon barriers
- Since:
- 100.0.0
- See Also:
-
getRoutes
Gets the List of routes. Each element represents an independent route with its own driving directions. Stops are grouped into different routes based onStop.setRouteName(String)
- Returns:
- an unmodifiable list of the routes
- Since:
- 100.0.0
-