;

DirectionEvent Class

  • DirectionEvent
  • class Esri::ArcGISRuntime::DirectionEvent

    A general description of an event that is happening while navigating. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    DirectionEvent(Esri::ArcGISRuntime::DirectionEvent &&other)
    DirectionEvent(const Esri::ArcGISRuntime::DirectionEvent &other)
    DirectionEvent()
    Esri::ArcGISRuntime::DirectionEvent &operator=(Esri::ArcGISRuntime::DirectionEvent &&other)
    Esri::ArcGISRuntime::DirectionEvent &operator=(const Esri::ArcGISRuntime::DirectionEvent &other)
    ~DirectionEvent()
    QDateTime estimatedArrivalTime() const
    double estimatedArrivalTimeShift() const
    QList<Esri::ArcGISRuntime::DirectionMessage> eventMessages() const
    QString eventText() const
    Esri::ArcGISRuntime::Point geometry() const
    bool isEmpty() const

    Detailed Description

    The types of DirectionEvents are enumerated in DirectionMessageType. Examples of a DirectionEvent include "Departing from Stop 1", "Arriving at Stop 2", and "Going past Main Street".

    Member Function Documentation

    DirectionEvent::DirectionEvent(Esri::ArcGISRuntime::DirectionEvent &&other)

    Move constructor from other DirectionEvent.

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

    Copy constructor from other DirectionEvent.

    DirectionEvent::DirectionEvent()

    Default constructor.

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

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

    Move operator from other DirectionEvent.

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

    Assignment operator from other DirectionEvent.

    DirectionEvent::~DirectionEvent()

    Destructor.

    QDateTime DirectionEvent::estimatedArrivalTime() const

    Returns the estimated arrival time for this DirectionEvent of the Route in UTC time.

    double DirectionEvent::estimatedArrivalTimeShift() const

    Returns the time zone shift in minutes of estimated arrival time for this segment of the route.

    QList<Esri::ArcGISRuntime::DirectionMessage> DirectionEvent::eventMessages() const

    Returns a list of detailed direction messages for this DirectionEvent.

    QString DirectionEvent::eventText() const

    Returns the textual representation of the DirectionEvent.

    Esri::ArcGISRuntime::Point DirectionEvent::geometry() const

    Returns the geometry for this DirectionEvent of the Route.

    bool DirectionEvent::isEmpty() const

    Returns true if this DirectionEvent is empty.

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