Class TransitDeparture
Package com.here.sdk.routing
Class TransitDeparture
- java.lang.Object
-
- com.here.sdk.routing.TransitDeparture
-
public final class TransitDeparture extends java.lang.ObjectThis struct holds the transit departure or arrival information.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.IntegerdelayThe accumulated delay in seconds from the scheduled time of the event.RoutePlaceplaceThe departure or arrival place.TransitDepartureStatusstatusStatus of the departure.java.util.DatetimeExpected departure or arrival time of the event.
-
Constructor Summary
Constructors Constructor Description TransitDeparture(RoutePlace place, java.util.Date time, java.lang.Integer delay, TransitDepartureStatus status)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
Field Detail
-
place
@NonNull public RoutePlace place
The departure or arrival place.
-
time
@Nullable public java.util.Date time
Expected departure or arrival time of the event.
-
delay
@Nullable public java.lang.Integer delay
The accumulated delay in seconds from the scheduled time of the event.
-
status
@Nullable public TransitDepartureStatus status
Status of the departure.
-
-
Constructor Detail
-
TransitDeparture
public TransitDeparture(@NonNull RoutePlace place, @Nullable java.util.Date time, @Nullable java.lang.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.
-
-