MMKNavigationListener
Warning
This feature is available in the NaviKit SDK version.
|
@protocol MMKNavigationListener <NSObject> |
Summary
Instance methods
|
- (void)onRoutesRequestedWithPoints: |
|
- (void)onAlternativesRequestedWithCurrentRoute: |
|
- (void)onUriResolvingRequestedWithUri:(nonnull NSString *)uri; |
|
- (void)onMatchRouteResolvingRequested; |
|
- (void)onRoutesBuilt; |
|
- (void)onRoutesRequestErrorWithError:(nonnull NSError *)error; |
|
- (void)onResetRoutes; |
Instance methods
onRoutesRequestedWithPoints:
|
- (void)onRoutesRequestedWithPoints: |
onAlternativesRequestedWithCurrentRoute:
|
- (void)onAlternativesRequestedWithCurrentRoute: |
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; |
onMatchRouteResolvingRequested
|
- (void)onMatchRouteResolvingRequested; |
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; |