stopNavigation

abstract fun stopNavigation()

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: