MMKNavigationListener

@protocol MMKNavigationListener <NSObject>

Undocumented

Summary

Instance methods

- (void)onRoutesRequestedWithPoints:
    (nonnull NSArray<MMKRequestPoint *> *)points;

Undocumented

- (void)onAlternativesRequestedWithCurrentRoute:
    (nonnull MMKDrivingRoute *)currentRoute;

Calls when a user requested alternatives for the current route

- (void)onUriResolvingRequestedWithUri:(nonnull NSString *)uri;
Undocumented

- (void)onRoutesBuilt;
Calls when routes, alternatives, or URI request succeeds After alternatives request Navigation

- (void)onRoutesRequestErrorWithError:(nonnull NSError *)error;
Will be called when an error occurs during routes, alternatives or uri request

- (void)onResetRoutes;
Undocumented

Instance methods

onRoutesRequestedWithPoints:

- (void)onRoutesRequestedWithPoints:
    (nonnull NSArray<MMKRequestPoint *> *)points;

Undocumented


onAlternativesRequestedWithCurrentRoute:

- (void)onAlternativesRequestedWithCurrentRoute:
    (nonnull MMKDrivingRoute *)currentRoute;

Calls when a user requested alternatives for the current route. After this callback Navigation will have the current route and fastest alternative route (if available) in Navigation.routes()


onUriResolvingRequestedWithUri:

- (void)onUriResolvingRequestedWithUri:(nonnull NSString *)uri;

Undocumented


onRoutesBuilt

- (void)onRoutesBuilt;

Calls when routes, alternatives, or URI request succeeds After alternatives request Navigation.routes() will have current route and fastest alternative for the request moment along with received alternatives.


onRoutesRequestErrorWithError:

- (void)onRoutesRequestErrorWithError:(nonnull NSError *)error;

Will be called when an error occurs during routes, alternatives or uri request


onResetRoutes

- (void)onResetRoutes;

Undocumented