Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

Destination.Traffic

public static final enum Destination.Traffic
extends Enum<Destination.Traffic>

java.lang.Object
   ↳ java.lang.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

Destination.Traffic  HIGH

High amount of traffic  

Destination.Traffic  LOW

Traffic level close to free flow  

Destination.Traffic  MEDIUM

Intermediate amount of traffic  

Destination.Traffic  UNKNOWN

Traffic information is not available  

Public methods

static Destination.Traffic valueOf(String name)
static final Traffic[] values()

Inherited methods

Enum values

HIGH

public static final Destination.Traffic HIGH

High amount of traffic

LOW

public static final Destination.Traffic LOW

Traffic level close to free flow

MEDIUM

public static final Destination.Traffic MEDIUM

Intermediate amount of traffic

UNKNOWN

public static final Destination.Traffic UNKNOWN

Traffic information is not available

Public methods

valueOf

public static Destination.Traffic valueOf (String name)

Parameters
name String

Returns
Destination.Traffic

values

public static final Traffic[] values ()

Returns
Traffic[]