RouteResult QML Type

  • Esri.ArcGISRuntime
  • RouteResult
  • A route result object contains output of route task's solve. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    Object

    Properties

    Detailed Description

    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.

    Note: You cannot declare or create a component of this type in QML code.

    Property Documentation

    [read-only, since Esri.ArcGISRuntime 100.2] directionsLanguage : string

    The language of the resulting route directions (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.2.


    [read-only] messages : list<string>

    Messages (read-only).

    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.


    [read-only] pointBarriers : list<PointBarriers>

    Returns a list of the point barriers used in the RouteTask (read-only).

    Only applicable if RouteParameters::returnPointBarriers used in this RouteTask is true.


    [read-only] polygonBarriers : list<PolygonBarriers>

    Returns a list of the polygon barriers used in the RouteTask (read-only).

    Only applicable if RouteParameters::returnPolygonBarriers used in this RouteTask is true.


    [read-only] polylineBarriers : list<PolylineBarriers>

    Returns a list of the polyline barriers used in the RouteTask (read-only).

    Only applicable if RouteParameters::returnPolylineBarriers used in this RouteTask is true.


    [read-only] routes : list<Route>

    Returns a list of the resulting Routes (read-only).

    Only applicable if RouteParameters::returnRoutes used in this RouteTask is true.

    Each object represents a separate route with independent driving directions.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.