cancelNavigation

external fun cancelNavigation(navigationListener: NavigationListener? = null)

Cancel the active navigation. This method cancels the active navigation. If a route calculation is in progress then the registered ProgressListener will be signaled first with ProgressListener.notifyComplete with GemError.Cancel as input and then the NavigationListener.onNavigationError with GemError.Cancel as input.

Parameters

navigationListener

Navigation listener used to identify the navigation instance