addOnIncidentListener

open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener)

Add a OnIncidentListener to NavigationManager to subscribe to incident event(s).


open fun addOnIncidentListener(listener: NavigationManager.OnIncidentListener, @Nullable executor: Executor)

Add a OnIncidentListener to NavigationManager to subscribe to incident event(s).

Parameters

executor

Executor which will execute listener's callbacks