onDetached

abstract fun onDetached(mapboxNavigation: MapboxNavigation)

Signals that the mapboxNavigation instance is being detached. Use this function to unregister mapboxNavigation observers that were registered in onAttached.

onDetached is called when onAttached was called at some time in the past and:

Parameters

mapboxNavigation

instance that is being detached.