HERE iOS SDK Developer's Guide

<NMAPlatformDataRequestListener>

Protocol Summary

protocol <NMAPlatformDataRequestListener>

Derived from: <NSObject>

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

Include: NMAKit.framework/headers/NMAPlatformDataRequest.h

Inheritance Diagrams

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

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) request:(nonnull NMAPlatformDataRequest *) request didCompleteWithResult:(nonnull NMAPlatformDataResult *) result error:(nullable NSError *) error

A callback method used to pass the result of a platform data request.

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:(nonnull NMAPlatformDataRequest *) request didCompleteWithResult:(nonnull NMAPlatformDataResult *) result error:(nullable NSError *) error

A callback method used to pass the result of a platform data request.

Parameters:

  • request

    The request object which started the data retrieval.

  • result

    The result returned.

  • error

    If an error occurs, the NSError object contains data on it and otherwise it is nil.