MapKit Mobile SDK

MMKNavigationListener

protocol MMKNavigationListener : NSObjectProtocol

Undocumented

Summary

Instance methods

func onRoutesRequested(with points: [MMKRequestPoint])
Undocumented

func onAlternativesRequested(withCurrentRoute currentRoute: MMKDrivingRoute)
Calls when a user requested alternatives for the current route

func onUriResolvingRequested(withUri uri: String)
Undocumented

func onRoutesBuilt()
Calls when routes, alternatives, or URI request succeeds After alternatives request Navigation

func onRoutesRequestErrorWithError(_ error: Error)
Will be called when an error occurs during routes, alternatives or uri request

func onResetRoutes()
Undocumented

Instance methods

onRoutesRequested(with:)

func onRoutesRequested(with points: [MMKRequestPoint])

Undocumented


onAlternativesRequested(withCurrentRoute:)

func onAlternativesRequested(withCurrentRoute currentRoute: MMKDrivingRoute)

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()


onUriResolvingRequested(withUri:)

func onUriResolvingRequested(withUri uri: String)

Undocumented


onRoutesBuilt()

func 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(_:)

func onRoutesRequestErrorWithError(_ error: Error)

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


onResetRoutes()

func onResetRoutes()

Undocumented