HERE Android SDK Developer's Guide

TransitStopInfo

The class TransitStopInfo is a member of com.here.android.mpa.mapping .

Class Summary

public final class TransitStopInfo

extends java.lang.Object

Represents information about a public transit stop.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in TransitStopInfo
Nested Classes

public static final enumeration TransitStopInfo.Attribute

Represents values describing attributes of transit stops

public static final enumeration TransitStopInfo.ParkingSize

Number of parking spots available.

Method Summary

Table 2. Methods in TransitStopInfo
Methods

public java.util.EnumSet <Attribute> getAttributes ()

Gets the stop attributes Attributes for the transit stop.

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate position for the transit stop.

public java.util.List <Identifier> getDepartingLines ()

Gets the list of departing transit line Identifier s for the transit stop.

public java.util.List <Identifier> getDepartingSystems ()

Gets the array of departing transit systems Identifier s for the transit stop.

public Identifier getId ()

Gets the unique Identifier for the transit stop.

public String getInformalName ()

Gets the informal name for the stop associated with the TransitStopInfo .

public java.util.List <Identifier> getLines ()

Gets the list of transit line Identifier s associated with the transit stop.

public String getOfficialName ()

Gets the official name for the stop associated with the TransitStopInfo .

public OperatingHours getOperatingHours ()

Gets the OperatingHours for the transit stop.

public OperatingHours getParkingHours ()

Gets the parking OperatingHours for the transit stop, if a parking lot is present.

public ParkingSize getParkingSize ()

Gets the ParkingSize for the transit stop, if a parking lot is present.

public java.util.List <Identifier> getSystems ()

Gets the list of transit systems Identifier s associated with the transit stop.

public java.util.List <Identifier> getTerminatingLines ()

Gets the list of terminating line Identifier s for the transit stop.

public java.util.List <Identifier> getTerminatingSystems ()

Gets the list of terminating systems Identifier s for the transit stop.

public java.util.List <Identifier> getTransfers ()

Gets the list of transfer stops Identifier s for the transit stop.

public java.util.EnumSet <TransitType> getTransitTypes ()

Gets the TransitType(s) for the stop associated with the TransitStopInfo .

Class Details

Represents information about a public transit stop.

Method Details

public java.util.EnumSet <Attribute> getAttributes ()

Gets the stop attributes Attributes for the transit stop.

Returns:

A EnumSet containing all the Attributes associated with the transit stop.

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate position for the transit stop.

Returns:

position of the stop.

public java.util.List <Identifier> getDepartingLines ()

Gets the list of departing transit line Identifier s for the transit stop.

Returns:

The list of Identifier of transit lines.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public java.util.List <Identifier> getDepartingSystems ()

Gets the array of departing transit systems Identifier s for the transit stop.

Returns:

The list of Identifier of transit systems.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public Identifier getId ()

Gets the unique Identifier for the transit stop. Applications can use this Identifier to highlight the transit stop using highlightTransitStops(List). TransitDatabase#getStopInfo

Returns:

The Identifier of this transit stop.

public String getInformalName ()

Gets the informal name for the stop associated with the TransitStopInfo . This text is localized according to the device's locale.

Returns:

The informal name

public java.util.List <Identifier> getLines ()

Gets the list of transit line Identifier s associated with the transit stop. Applications can use the Identifier s to highlight the transit lines and to get information about the lines.

Returns:

The list of transit line Identifiers.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public String getOfficialName ()

Gets the official name for the stop associated with the TransitStopInfo . This text is localized according to the device's locale.

Returns:

The official name

public OperatingHours getOperatingHours ()

Gets the OperatingHours for the transit stop.

Returns:

The operating hours.

public OperatingHours getParkingHours ()

Gets the parking OperatingHours for the transit stop, if a parking lot is present.

Returns:

parking hours.

public ParkingSize getParkingSize ()

Gets the ParkingSize for the transit stop, if a parking lot is present.

Returns:

The ParkingSize of the transit stop.

public java.util.List <Identifier> getSystems ()

Gets the list of transit systems Identifier s associated with the transit stop.

Returns:

The list of transit system Identifiers.

public java.util.List <Identifier> getTerminatingLines ()

Gets the list of terminating line Identifier s for the transit stop.

Returns:

The List of Identifiers.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public java.util.List <Identifier> getTerminatingSystems ()

Gets the list of terminating systems Identifier s for the transit stop.

Returns:

The List of Identifiers.

See also:

highlightTransitLines(List<Identifier>)

getLineInfo(Identifier, OnGetTransitInfoListener)

public java.util.List <Identifier> getTransfers ()

Gets the list of transfer stops Identifier s for the transit stop.

Returns:

The List of Identifiers.

public java.util.EnumSet <TransitType> getTransitTypes ()

Gets the TransitType(s) for the stop associated with the TransitStopInfo .

Returns:

The EnumSet of all TransitType associated with the stop.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.