fun detach(lifecycleOwner: LifecycleOwner): MapboxNavigationApp

Individually detach lifecycles from MapboxNavigationApp. When all LifecycleOwners have been detached, this will cause all MapboxNavigationObserver.onDetached.

Warning: The CarAppLifecycleOwner assumes all detach calls included an attach. Detaching an owner that was never attached will create incorrect counters and will potentially cause MapboxNavigation to never be created.