Departure
The class Departure is a member of com.here.android.mpa.urbanmobility .
Class Summary
public final class Departure
extends java.lang.Object
Represents information about a departure.
[For complete information, see the section Class Details]
Method Summary
Methods |
---|
|
Gets AccessPoint which should be used to access this location. |
Gets a list of departures which are alternative to this departure. |
Gets a DepartureFrequency object describing frequency of similar departures. |
Gets the Place information from which this departure occurs. |
Gets the originally scheduled departure platform. |
Gets the real-time departure time if available. |
Gets the Station information from which this departure occurs. |
Gets the originally scheduled departure time. |
Gets the transport information. |
|
Class Details
Represents information about a departure.
IMPORTANT: Urban Mobility Departure Board is a Beta feature. The related classes are subject to change without notice.
Method Details
public boolean equals (Object o)
Parameters:
-
o
public AccessPoint getAccessPoint ()
Gets AccessPoint which should be used to access this location.
Returns:
AccessPoint, or null if not available
public java.util.List <AlternativeDeparture> getAlternativeDepartures ()
Gets a list of departures which are alternative to this departure.
Returns:
list of alternative departures if any
public DepartureFrequency getDepartureFrequency ()
Gets a DepartureFrequency object describing frequency of similar departures.
Returns:
information about departure frequency, or null if not available
public Place getPlace ()
Gets the Place information from which this departure occurs.
Returns:
Place from which this departure occurs, or null if not available
public String getPlatform ()
Gets the originally scheduled departure platform.
Returns:
originally scheduled departure platform, or empty string if not available.
public RealTimeInfo getRealTimeInfo ()
Gets the real-time departure time if available.
Returns:
real-time departure time or null when not available
public Station getStation ()
Gets the Station information from which this departure occurs. NOTE: This property is available only if Place of the departure is also a Station.
Returns:
Station information ,or null if not available
public Date getTime ()
Gets the originally scheduled departure time.
Returns:
Originally scheduled departure time, or null if not available.
public Transport getTransport ()
Gets the transport information.
Returns:
transport information, or null if not available
public int hashCode ()