Class DirectionEvent
- java.lang.Object
-
- com.esri.arcgisruntime.tasks.networkanalysis.DirectionEvent
-
public final class DirectionEvent extends java.lang.Object
Represents an event in a set ofDirectionManeuver
for a givenRoute
. Events are notifications about things that happen along a route but do not require any action from the user. For ex. arrival or departure from a state border lines.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Calendar
getEstimatedArrivalTime()
Gets the estimated arrival time.double
getEstimatedArrivalTimeShift()
Gets shift for estimated arrival time.java.util.List<DirectionMessage>
getEventMessages()
Gets the event messages.java.lang.String
getEventText()
Gets the textual representation of the event.Point
getGeometry()
Gets the point at which the DirectionMessages apply.
-
-
-
Method Detail
-
getEstimatedArrivalTime
public java.util.Calendar getEstimatedArrivalTime()
Gets the estimated arrival time.- Returns:
- the estimated arrival time
- Since:
- 100.0.0
-
getEstimatedArrivalTimeShift
public double getEstimatedArrivalTimeShift()
Gets shift for estimated arrival time.- Returns:
- a value of time zone shift in minutes
- Since:
- 100.0.0
-
getEventMessages
public java.util.List<DirectionMessage> getEventMessages()
Gets the event messages.- Returns:
- an unmodifiable list of the event messages
- Since:
- 100.0.0
-
getEventText
public java.lang.String getEventText()
Gets the textual representation of the event.- Returns:
- the event text
- Since:
- 100.0.0
-
getGeometry
public Point getGeometry()
Gets the point at which the DirectionMessages apply.- Returns:
- the geometry
- Since:
- 100.0.0
-
-