Class TransitDeparture

java.lang.Object
com.here.sdk.routing.TransitDeparture

public final class TransitDeparture extends Object

This struct holds the transit departure or arrival information.

  • Field Details

    • place

      @NonNull public RoutePlace place

      The departure or arrival place.

    • time

      @Nullable public Date time

      Expected departure or arrival time of the event.

    • delay

      @Nullable public Integer delay

      The accumulated delay in seconds from the scheduled time of the event.

    • status

      @Nullable public TransitDepartureStatus status

      Status of the departure.

  • Constructor Details

    • TransitDeparture

      public TransitDeparture(@NonNull RoutePlace place, @Nullable Date time, @Nullable Integer delay, @Nullable TransitDepartureStatus status)

      Creates a new instance.

      Parameters:
      place -

      The departure or arrival place.

      time -

      Expected departure or arrival time of the event.

      delay -

      The accumulated delay in seconds from the scheduled time of the event.

      status -

      Status of the departure.

  • Method Details