DirectionEvent Class

  • DirectionEvent
  • class Esri::ArcGISRuntime::DirectionEvent

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

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

    Public Functions

    DirectionEvent()
    DirectionEvent(const Esri::ArcGISRuntime::DirectionEvent &other)
    DirectionEvent(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
    Esri::ArcGISRuntime::DirectionEvent &operator=(const Esri::ArcGISRuntime::DirectionEvent &other)
    Esri::ArcGISRuntime::DirectionEvent &operator=(Esri::ArcGISRuntime::DirectionEvent &&other)

    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()

    Default constructor.

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

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

    Copy constructor from other DirectionEvent.

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

    Move constructor 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.

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

    Assignment operator from other DirectionEvent.

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

    Move operator from other DirectionEvent.

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

    You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

    Your ArcGIS portal

    Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

    Your ArcGIS Location Platform dashboard

    Manage billing, monitor service usage, and access additional resources.

    Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

    Close