sdk-routing / com.tomtom.online.sdk.routing.ev / RouteDescriptor / Builder / traffic

traffic

fun traffic(traffic: Boolean): RouteDescriptor.Builder

Specifies whether the traffic information will be considered.

Return
The builder of the query with a new value of the isTraffic flag.