HERE Android SDK Developer's Guide

TransitSchedulePage

The class TransitSchedulePage is a member of com.here.android.mpa.search .

Class Summary

public class TransitSchedulePage

extends java.lang.Object

Represents departure information for a public transport stop/station.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in TransitSchedulePage
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public java.util.List <TransitDeparture> getItems ()

Gets the list of departures.

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitLine> getLines ()

Gets the map collection of transit line names to TransitLine information.

public TransitSchedulePageRequest getNextPageRequest ()

Gets the TransitSchedulePageRequest for requesting the next page of the TransitSchedulePage .

public int getOffsetCount ()

Gets the collection offset count for the current page of the TransitSchedulePage .

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitOperator> getOperators ()

Gets the map collection of transit line operators to TransitOperator information.

public TransitSchedulePageRequest getPreviousPageRequest ()

Gets the TransitSchedulePageRequest for requesting the previous page of the TransitSchedulePage .

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents departure information for a public transport stop/station. Departure items are paginated based on page size parameter.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public java.util.List <TransitDeparture> getItems ()

Gets the list of departures.

Returns:

The list of TransitDeparture

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitLine> getLines ()

Gets the map collection of transit line names to TransitLine information.

Returns:

The map collection of lines serving departures shown in current departure item list using line name as a key

public TransitSchedulePageRequest getNextPageRequest ()

Gets the TransitSchedulePageRequest for requesting the next page of the TransitSchedulePage .

Returns:

The TransitSchedulePageRequest

public int getOffsetCount ()

Gets the collection offset count for the current page of the TransitSchedulePage .

For the first page of results, the offset count is 0. Following any call to getNextPageRequest(), the offset count will be greater than 0.

Returns:

The collection offset count

public java.util.Map <java.lang.String, com.here.android.mpa.search.TransitOperator> getOperators ()

Gets the map collection of transit line operators to TransitOperator information.

Returns:

The map collection of operators operating on this stop/station using operator ID as a key

public TransitSchedulePageRequest getPreviousPageRequest ()

Gets the TransitSchedulePageRequest for requesting the previous page of the TransitSchedulePage .

Returns:

The TransitSchedulePageRequest

public int hashCode ()

For documentation, see java.lang.Object

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.