java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.DirectionEvent

public final class DirectionEvent extends Object
Represents an event in a set of DirectionManeuver for a given Route. 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 Details

    • getEstimatedArrivalTime

      public Calendar getEstimatedArrivalTime()
      Gets the estimated arrival time.
      Returns:
      the estimated arrival time
      Since:
      100.0.0
    • getEstimatedArrivalTimeShift

      public double getEstimatedArrivalTimeShift()
      The time zone shift of estimated arrival time for this segment of the route, in minutes.
      Returns:
      time zone shift for estimated arrival time, in minutes
      Since:
      100.0.0
    • getEventMessages

      public List<DirectionMessage> getEventMessages()
      Gets the event messages.
      Returns:
      an unmodifiable list of the event messages
      Since:
      100.0.0
    • getEventText

      public 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