HERE Android SDK Developer's Guide

Station

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

Class Summary

public class Station

extends com.here.android.mpa.urbanmobility.Place, java.lang.Object

Represents information about a Station.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in Station
Methods

public boolean equals (Object o)

public String getId ()

Gets the identifier of the station, which is specific to transit backend.

public int hashCode ()

public boolean isDepartureBoardAvailable ()

Indicates if this station has a departure board available, meaning that a DepartureBoardRequest can be executed with this station ID to get a DepartureBoard.

Class Details

Represents information about a Station.

IMPORTANT: Urban Mobility is a Beta feature. The related classes are subject to change without notice.

Method Details

public boolean equals (Object o)

Parameters:

  • o

public String getId ()

Gets the identifier of the station, which is specific to transit backend.

Returns:

id of the station

public int hashCode ()

public boolean isDepartureBoardAvailable ()

Indicates if this station has a departure board available, meaning that a DepartureBoardRequest can be executed with this station ID to get a DepartureBoard.

Returns:

true if departure board is available, false otherwise