Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

Traffic

class Traffic
kotlin.Any
   ↳ kotlin.Enum<androidx.car.cluster.navigation.Destination.Traffic>
   ↳ androidx.car.cluster.navigation.Destination.Traffic

Congestion level on the way to a destination, compared to ideal driving conditions.

Summary

Enum values

High amount of traffic

Traffic level close to free flow

Intermediate amount of traffic

Traffic information is not available

Enum values

HIGH

enum val HIGH : Destination.Traffic

High amount of traffic

LOW

enum val LOW : Destination.Traffic

Traffic level close to free flow

MEDIUM

enum val MEDIUM : Destination.Traffic

Intermediate amount of traffic

UNKNOWN

enum val UNKNOWN : Destination.Traffic

Traffic information is not available