HERE iOS SDK Developer's Guide

NMAUrbanMobilityRequestManager

Class Summary

class NMAUrbanMobilityRequestManager

Derived from: NSObject

Defines a singleton which manages creation of requests to the HERE backend servers.

Include: NMAKit.framework/headers/NMAUrbanMobilityRequestManager.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAUrbanMobilityRequestManager

[For complete information, see the section Class Details]

See also:

NMAUrbanMobilitySearchRequest

NMAUrbanMobilityCityCoverageRequest

NMAUrbanMobilityCitySearchRequest

NMAUrbanMobilityDepartureBoardRequest

NMAUrbanMobilityNearbyCoverageRequest

NMAUrbanMobilityStationSearchRequest

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-( NMAUrbanMobilityCityCoverageRequest *) createCityCoverageRequest

Creates a new NMAUrbanMobilityCityCoverageRequest used to get a list of cities where were have transit coverage, as well as list of transit operators, from a given location, within a certain radius

-( NMAUrbanMobilityCitySearchRequest *) createCitySearchRequestWithCity:(NSString *) cityName

Creates a new NMAUrbanMobilityCitySearchRequest for search for public transit coverage by city

-( NMAUrbanMobilityDepartureBoardRequest *) createDepartureBoardRequestWithStationId:(NSString *) stationId location:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityDepartureBoardRequest for a departure board at a transit station with a given ID and given geo coordinates

-( NMAUrbanMobilityMultiBoardRequest *) createMultiBoardRequestWithLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityMultiBoardRequest for a multi departure board from given location

-( NMAUrbanMobilityMultiBoardRequest *) createMultiBoardRequestWithStationIds:(NSArray *) stationIds

Creates a new NMAUrbanMobilityMultiBoardRequest to search only by Station IDs

-( NMAUrbanMobilityNearbyCoverageRequest *) createNearbyCoverageRequestForLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityNearbyCoverageRequest used for retrieve coverage information about nearby cities

-( NMAUrbanMobilityStationSearchRequest *) createStationSearchRequestWithIds:(NSArray *) stationIds

Creates a new NMAUrbanMobilityStationSearchRequest to search for transit stations with given IDs

-( NMAUrbanMobilityStationSearchRequest *) createStationSearchRequestWithLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityStationSearchRequest to search for transit stations around a given location

Class Method Summary

Table 2. Class Methods
Class Methods

+( NMAUrbanMobilityRequestManager *) sharedRequestManager

Returns the shared instance of NMAUrbanMobilityRequestManager

Class Details

Defines a singleton which manages creation of requests to the HERE backend servers.

NMAUrbanMobilityRequestManager is a singleton which provides convenient shortcuts for creation of NMAUrbanMobilitySearchRequest instances: NMAUrbanMobilityStationSearchRequest to search for transit stations and NMAUrbanMobilityDepartureBoardRequest to request departure boards.

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

See also:

NMAUrbanMobilitySearchRequest

NMAUrbanMobilityCityCoverageRequest

NMAUrbanMobilityCitySearchRequest

NMAUrbanMobilityDepartureBoardRequest

NMAUrbanMobilityNearbyCoverageRequest

NMAUrbanMobilityStationSearchRequest

Instance Method Details

-( NMAUrbanMobilityCityCoverageRequest *) createCityCoverageRequest

Creates a new NMAUrbanMobilityCityCoverageRequest used to get a list of cities where were have transit coverage, as well as list of transit operators, from a given location, within a certain radius.

Returns:

NMAUrbanMobilityCityCoverageRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityCitySearchRequest *) createCitySearchRequestWithCity:(NSString *) cityName

Creates a new NMAUrbanMobilityCitySearchRequest for search for public transit coverage by city.

Parameters:

  • cityName

    - string used to search.

Returns:

NMAUrbanMobilityCitySearchRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityDepartureBoardRequest *) createDepartureBoardRequestWithStationId:(NSString *) stationId location:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityDepartureBoardRequest for a departure board at a transit station with a given ID and given geo coordinates.

Note:

Both station ID and geo coordinates are required to identify a transit station unambiguously.

Parameters:

  • stationId

    Transit station ID.

  • location

    Geo coordinates of the transit station.

Returns:

NMAUrbanMobilityDepartureBoardRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityMultiBoardRequest *) createMultiBoardRequestWithLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityMultiBoardRequest for a multi departure board from given location.

Parameters:

  • location

    Geo coordinates to search all stations around.

Returns:

NMAUrbanMobilityMultiBoardRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityMultiBoardRequest *) createMultiBoardRequestWithStationIds:(NSArray *) stationIds

Creates a new NMAUrbanMobilityMultiBoardRequest to search only by Station IDs.

Parameters:

  • stationIds

    Array of station IDs to search for.

Returns:

NMAUrbanMobilityMultiBoardRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityNearbyCoverageRequest *) createNearbyCoverageRequestForLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityNearbyCoverageRequest used for retrieve coverage information about nearby cities.

Parameters:

  • location

    Geo coordinates of the entry point used to search.

Returns:

NMAUrbanMobilityNearbyCoverageRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityStationSearchRequest *) createStationSearchRequestWithIds:(NSArray *) stationIds

Creates a new NMAUrbanMobilityStationSearchRequest to search for transit stations with given IDs.

Parameters:

  • stationIds

    Array of transit station IDs to search for.

Returns:

NMAUrbanMobilityStationSearchRequest which is ready to be executed.

See also:

startWithCompletionBlock:

-( NMAUrbanMobilityStationSearchRequest *) createStationSearchRequestWithLocation:( NMAGeoCoordinates *) location

Creates a new NMAUrbanMobilityStationSearchRequest to search for transit stations around a given location.

Use optional properties to fine tune the search: searchRange, stationName, nameMatchingMethod

Parameters:

  • location

    Geo coordinates to search for nearby transit stations around.

Returns:

NMAUrbanMobilityStationSearchRequest which is ready to be executed.

See also:

startWithCompletionBlock:

Class Method Details

+( NMAUrbanMobilityRequestManager *) sharedRequestManager

Returns the shared instance of NMAUrbanMobilityRequestManager. No other instances should be created.

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.