Skip To Content ArcGIS for Developers Sign In Dashboard

DirectionEvent Class


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

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

Public Functions

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

Detailed Description

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

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


Default constructor.

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

DirectionEvent::DirectionEvent(const DirectionEvent &other)

Copy constructor from other DirectionEvent.

DirectionEvent::DirectionEvent(DirectionEvent &&other)

Move constructor from other DirectionEvent.



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

Point DirectionEvent::geometry() const

Returns the geometry for this DirectionEvent of the Route.

bool DirectionEvent::isEmpty() const

Returns true if this DirectionEvent is empty.

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

Assignment operator from other DirectionEvent.

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

Move operator from other DirectionEvent.

Feedback on this topic?