HERE iOS SDK Developer's Guide

NMAPlaceTransitSchedulePage

Class Summary

class NMAPlaceTransitSchedulePage

Derived from: NSObject

Represents departure information for a public transport stop/station. Departure items are paginated based on NMARequest::collectionSize.

Include: NMAKit.framework/headers/NMAPlaceTransitSchedulePage.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPlaceTransitSchedulePage

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSInteger  available

The total number of available NMATransitDeparture objects for this transit schedule page.

[readable, strong] NSArray *  departures

Array of NMAPlaceTransitDeparture objects for the current page of results.

[readable, strong] NSDictionary *  lines

Dictionary of transit line names to NMAPlaceTransitLine objects for the current page of results.

[readable, strong] NMAPlaceTransitSchedulePageRequest nextPageRequest

The NMAPlaceTransitScheduleRequest for requesting the next page of results.

[readable, assign] NSInteger  offsetCount

Result offset of the current results page into the total number of results avilable.

[readable, strong] NSDictionary *  operators

Dictionary of transit line operatiors to NMAPlaceTransitOperator objects for the current page of results.

Class Details

Represents departure information for a public transport stop/station. Departure items are paginated based on NMARequest::collectionSize.

NMAPlaceTransitScheduleRequest objects are typically created using the NMAPlaces interface to initialize search, explore or here requests.

Results may be split into multiple page. Each results page contains a collection of NMAPlaceTransitDeparture objects representing departure information.

Public Property Details

[readable, assign] NSInteger available

The total number of available NMATransitDeparture objects for this transit schedule page.

[readable, strong] NSArray * departures

Array of NMAPlaceTransitDeparture objects for the current page of results.

[readable, strong] NSDictionary * lines

Dictionary of transit line names to NMAPlaceTransitLine objects for the current page of results.

Note:

The dictionary of transit lines serving departures shown in current departure item list using line name as key. Attempts to read this property could return nil.

[readable, strong] NMAPlaceTransitSchedulePageRequestnextPageRequest

The NMAPlaceTransitScheduleRequest for requesting the next page of results.

Note:

This will be nil if there is no next page.

[readable, assign] NSInteger offsetCount

Result offset of the current results page into the total number of results avilable.

Note:

The number of results on the current page is the number of elements in departures.

[readable, strong] NSDictionary * operators

Dictionary of transit line operatiors to NMAPlaceTransitOperator objects for the current page of results.

Note:

The dictionary of operators operating on this stop/station using [ NMAPlaceTransitOperator uniqueId] as key. Attempts to read this property could return nil.

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.