registerRerouteStateObserver

abstract fun registerRerouteStateObserver(rerouteStateObserver: RerouteController.RerouteStateObserver): Boolean

Add a RerouteStateObserver to collection and immediately invoke rerouteStateObserver with current re-route state.

Return

true if the element has been added, false if the element is already present in the collection.