HERE iOS SDK Developer's Guide

<NMACLE2ResultListener>

Protocol Summary

protocol <NMACLE2ResultListener>

Derived from: <NSObject>

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

Include: NMAKit.framework/headers/NMACLE2ResultListener.h

Inheritance Diagrams

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

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

- @optional (void) request:(nonnull NMACLE2Request *) request didCompleteWithResult:(nonnull NMACLE2Result *) result error:(nullable NSError *) error

Callback when a request has completed.

Protocol Details

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

Methods of this protocol are called on the main queue.

Instance Method Details

- @optional (void) request:(nonnull NMACLE2Request *) request didCompleteWithResult:(nonnull NMACLE2Result *) result error:(nullable NSError *) error

Callback when a request has completed.

Parameters:

  • request

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

  • result

    An object of type NMACLE2Result containing the request's result objects.

  • error

    NSError for this request. Nil if the request completed successfully, otherwise, this value is populated with an NMACLEError error code and a domain of NMACLE2RequestError.