HERE iOS SDK Developer's Guide

<NMATollCostRequestListener>

Protocol Summary

protocol <NMATollCostRequestListener>

Derived from: <NSObject>

Represents an event listener that reports information about request query completion.

Include: NMAKit.framework/headers/NMATollCostRequest.h

Inheritance Diagrams

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

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) request:(nonnull NMATollCostRequest *) request didCompleteWithResult:(nonnull NMATollCostResult *) result error:(nullable NSError *) error

A callback method used to pass the result of a toll cost request.

Protocol Details

Represents an event listener that reports information about request query completion.

Methods of this protocol are called on the main queue.

Instance Method Details

-(void) request:(nonnull NMATollCostRequest *) request didCompleteWithResult:(nonnull NMATollCostResult *) result error:(nullable NSError *) error

A callback method used to pass the result of a toll cost request.

Parameters:

  • request

    The request object which started the toll cost query.

  • result

    The result returned.

  • error

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