add On Incident Listener
open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener)
Content copied to clipboard
Add a OnIncidentListener to NavigationManager to subscribe to incident event(s).
open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener, @Nullable() executor: Executor)
Content copied to clipboard
Add a OnIncidentListener to NavigationManager to subscribe to incident event(s).
Parameters
executor
Executor which will execute listener's callbacks