HERE iOS SDK Developer's Guide

<NMAResultListener>

Protocol Summary

protocol <NMAResultListener>

Derived from: <NSObject>

Represents an event listener that reports information about query progress changes and query completion.

Include: NMAKit.framework/headers/NMAResultListener.h

Inheritance Diagrams

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

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) request:( NMARequest *) request didCompleteWithData:(id) data error:(NSError *) error

Callback when a request has completed.

Protocol Details

Represents an event listener that reports information about query progress changes and query completion.

Methods of this protocol are called on the main queue.

Instance Method Details

-(void) request:( NMARequest *) request didCompleteWithData:(id) data error:(NSError *) error

Callback when a request has completed.

The following list shows NMA requrest types on the left and the corresponding result data types on the right. The data type of the first argument received by this method is one of the types on the left, the data type of the second argument is one of those on the right.
NMAGeocodeRequest                  NSArray(NMAGeocodeResult)
NMAReverseGeocodeRequest           NSArray(NMAReverseGeocodeResult)
NMADiscoveryRequest                NMADiscoveryPage
NMAPlaceRequest                    NMAPlace
NMAMediaCollectionPageRequest      NMAMediaCollectionPage
NMASuggestionRequest               NSArray(NSString)

Parameters:

  • request

    An object of the type shown on the left in the list above.

  • data

    An object containing the search results, the possible types are shown on the right-hand side in the list above. Can be nil if no results found or an error was encountered.

  • error

    NSError for this request. Nil if the request completed successfully. Otherwise, this value is populated with an NMARequestError error code and a domain of NMA_PLACES_ERROR_DOMAIN.

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.