HERE iOS SDK Developer's Guide

NMARouter

Class Summary

class NMARouter

Derived from: NSObject

Base interface for route calculation class.

Include: NMAKit.framework/headers/NMARouter.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMARouter

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] BOOL  isBusy

Indicates whether or not the route calculation is ongoing

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(void) cancel

Cancels the current route calculation.

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Base interface for route calculation class. Represents controls for performing a type of routing request. It defines routing type specific operations and listeners.

Public Property Details

[readable, assign] BOOL isBusy

Indicates whether or not the route calculation is ongoing.

Note:

Any requests made while the NMARouter is busy will fail.

Instance Method Details

-(void) cancel

Cancels the current route calculation.

Note:

This API is asynchronous as it takes some time cancel all underlying operations. Use isBusy to check whether calculation is still ongoing or not.

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly