MMKNavigationListener
protocol MMKNavigationListener : NSObjectProtocol |
Undocumented
Summary
Instance methods
func onRoutesRequested(with points: [MMKRequestPoint]) |
func onAlternativesRequested(withCurrentRoute currentRoute: MMKDrivingRoute) |
func onUriResolvingRequested(withUri uri: String) |
func onRoutesBuilt() |
func onRoutesRequestErrorWithError(_ error: Error) |
func onResetRoutes() |
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