Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | List of all members
<NMRouteCalculationListener> Protocol Reference

Inherits <NSObject>.

Instance Methods

(void) - onRouteCalculationSucceededWithResult:
 
(void) - onRouteCalculationFailedWithInfo:
 
(void) - onNonFatalRouteCalculationErrorOccurred:
 

Detailed Description

Protocol describing route calculation status updates.

Method Documentation

◆ onNonFatalRouteCalculationErrorOccurred:()

- (void) onNonFatalRouteCalculationErrorOccurred: (NMRouteCalculationError error
optional

Is called once non-fatal error occurred during the route calculation process. The route calculation continues, other callbacks will be called later.

Parameters
errorError code describing the reason the callback was called.

◆ onRouteCalculationFailedWithInfo:()

- (void) onRouteCalculationFailedWithInfo: (nonnull NMRouteCalculationFailureInfo *)  failureInfo
optional

Is called once route calculation fails. The fact that the callback was called means the route calculation has finished.

Parameters
failureInfo@nonnull Unsuccessful route calculation info.

◆ onRouteCalculationSucceededWithResult:()

- (void) onRouteCalculationSucceededWithResult: (nonnull NMRouteCalculationResult *)  result
optional

Is called once route calculation succeeds. The fact that the callback was called means the route calculation has finished.

Parameters
result@nonnull Successful route calculation info.