stop Navigation
Stops the currently active navigation session. This will typically stop any ongoing route guidance, remove the navigation UI, and, if a foreground service was started, stop the foreground service.
Throws
if the method is called in an invalid state, specifically if:
the
valueof navigationState is NavigationState.NotStartedthe
valueof sdkState is SdkState.Initializing, SdkState.Disposing or SdkState.Disposed.@see navigate