getTrafficIncidents

abstract fun getTrafficIncidents(route: Route): List<TrafficIncident>?

Gets the list of traffic incidents that are being displayed on a certain Route.

Return

The list of traffic incidents on the route, or null if the route is not in routes.

Parameters

route

The Route to get traffic incidents from.