RouteResult Class

  • RouteResult
  • class Esri::ArcGISRuntime::RouteResult

    The result from a RouteTask. More...

    Header: #include <RouteResult>
    Since: Esri::ArcGISRuntime 100.0

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    RouteResult(Esri::ArcGISRuntime::RouteResult &&other)
    RouteResult(const Esri::ArcGISRuntime::RouteResult &other)
    Esri::ArcGISRuntime::RouteResult &operator=(Esri::ArcGISRuntime::RouteResult &&other)
    Esri::ArcGISRuntime::RouteResult &operator=(const Esri::ArcGISRuntime::RouteResult &other)
    QString directionsLanguage() const
    bool isEmpty() const
    QStringList messages() const
    QList<Esri::ArcGISRuntime::PointBarrier> pointBarriers() const
    QList<Esri::ArcGISRuntime::PolygonBarrier> polygonBarriers() const
    QList<Esri::ArcGISRuntime::PolylineBarrier> polylineBarriers() const
    QList<Esri::ArcGISRuntime::Route> routes() const

    Detailed Description

    This is the result object returned from a RouteTask once it completes successfully. It contains a list of Routes, which lets you acccess the route geometry, direction maneuvers, and so on.

    Member Function Documentation

    RouteResult::RouteResult(Esri::ArcGISRuntime::RouteResult &&other)

    Move constructor from other RouteResult.

    RouteResult::RouteResult(const Esri::ArcGISRuntime::RouteResult &other)

    Copy constructor from other RouteResult.


    Default constructor.

    Warning: This is for convenience only and will construct an empty object.

    Esri::ArcGISRuntime::RouteResult &RouteResult::operator=(Esri::ArcGISRuntime::RouteResult &&other)

    Move operator from other RouteResult.

    Esri::ArcGISRuntime::RouteResult &RouteResult::operator=(const Esri::ArcGISRuntime::RouteResult &other)

    Assignment operator from other RouteResult.



    QString RouteResult::directionsLanguage() const

    Returns directions language.

    This function was introduced in Esri::ArcGISRuntime 100.2.

    bool RouteResult::isEmpty() const

    Returns true if this RouteTaskInfo is empty.

    QStringList RouteResult::messages() const

    Returns a list of messages about the RouteResult.

    QList<Esri::ArcGISRuntime::PointBarrier> RouteResult::pointBarriers() const

    Returns a list of the point barriers used in the RouteTask.

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

    QList<Esri::ArcGISRuntime::PolygonBarrier> RouteResult::polygonBarriers() const

    Returns a list of the polygon barriers used in the RouteTask.

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

    QList<Esri::ArcGISRuntime::PolylineBarrier> RouteResult::polylineBarriers() const

    Returns a list of the polyline barriers used in the RouteTask.

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

    QList<Esri::ArcGISRuntime::Route> RouteResult::routes() const

    Returns a list of the resulting Routes.

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

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