Class DirectionEvent


  • public final class DirectionEvent
    extends java.lang.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 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