HERE iOS SDK Developer's Guide

<NMATransitManagerDelegate>

Protocol Summary

protocol <NMATransitManagerDelegate>

Derived from: <NSObject>

A delegate protocol to be implemented by classes using the NMATransitManager, used to receive the results of information requests.

Include: NMAKit.framework/headers/NMATransitManager.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for <NMATransitManagerDelegate> – <NMATransitManagerDelegate>

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didCompleteWithError:(nullable NSError *) error

Called upon completion of an NMATransitManager operation, whether or not the operation was successful.

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetAccessInfo:(nonnull NMATransitAccess *) access forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitAccess information (e.g. requestAccessInfoForId:).

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetLineInfo:(nonnull NMATransitLine *) line forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitLine information (e.g. requestLineInfoForId:).

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetStopInfo:(nonnull NMATransitStop *) stop forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitStop information (e.g. requestStopInfoForId:).

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetSystemInfo:(nonnull NMATransitSystem *) system forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitSystem information (e.g. requestSystemInfoForId:).

Protocol Details

A delegate protocol to be implemented by classes using the NMATransitManager, used to receive the results of information requests.

All NMATransitManager requests will result in a didCompleteWithError: callback being sent. In the case of an operation failure, this is the only callback sent. If an operation is successful, the delegate will also receive one of the "didGet..." callbacks, depending on which type of information was requested.

Instance Method Details

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didCompleteWithError:(nullable NSError *) error

Called upon completion of an NMATransitManager operation, whether or not the operation was successful.

Parameters:

  • transitManager

    The NMATransitManager singleton

  • error

    An error object if the operation failed, otherwise nil

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetAccessInfo:(nonnull NMATransitAccess *) access forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitAccess information (e.g. requestAccessInfoForId:).

Parameters:

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetLineInfo:(nonnull NMATransitLine *) line forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitLine information (e.g. requestLineInfoForId:).

Parameters:

  • transitManager

    The NMATransitManager singleton

  • line

    The NMATransitLine object requested

  • uniqueId

    The identifying string used to make the original request

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetStopInfo:(nonnull NMATransitStop *) stop forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitStop information (e.g. requestStopInfoForId:).

Parameters:

  • transitManager

    The NMATransitManager singleton

  • stop

    The NMATransitStop object requested

  • uniqueId

    The identifying string used to make the original request

- @optional (void) transitManager:(nonnull NMATransitManager *) transitManager didGetSystemInfo:(nonnull NMATransitSystem *) system forId:(nonnull NSString *) uniqueId

Called by NMATransitManager after successfully completing a request for NMATransitSystem information (e.g. requestSystemInfoForId:).

Parameters:

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.