HERE Android SDK Developer's Guide

Arrival

The class Arrival is a member of com.here.android.mpa.urbanmobility .

Class Summary

public final class Arrival

extends java.lang.Object

Represents information about an arrival.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in Arrival
Methods

public boolean equals (Object o)

public AccessPoint getAccessPoint ()

Gets AccessPoint which should be used to access this location.

public Place getPlace ()

Gets the arrival Place information.

public String getPlatform ()

Gets the originally scheduled arrival platform.

public RealTimeInfo getRealTimeInfo ()

Gets the arrival real-time info if available.

public Station getStation ()

Gets the arrival Station information.

public Date getTime ()

Gets the originally scheduled arrival time.

public int hashCode ()

Class Details

Represents information about an arrival.

IMPORTANT: Urban Mobility routing 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 Place getPlace ()

Gets the arrival Place information.

Returns:

arrival Place information, or null if not available

public String getPlatform ()

Gets the originally scheduled arrival platform.

Returns:

originally scheduled arrival platform, or empty string if not available.

public RealTimeInfo getRealTimeInfo ()

Gets the arrival real-time info if available.

Returns:

arrival real-time info, or null if not available

public Station getStation ()

Gets the arrival Station information. NOTE: This property is available only if arrival Place is also a Station.

Returns:

Station information ,or null if not available

public Date getTime ()

Gets the originally scheduled arrival time.

Returns:

originally scheduled arrival time, or null if not available

public int hashCode ()