public static enum Route.TrafficPenaltyMode extends java.lang.Enum<Route.TrafficPenaltyMode>
Route.getTta(TrafficPenaltyMode, int) .| Enum Constant and Description |
|---|
AVOID_CONGESTION
Avoid road closed and severe congestion.
|
DISABLED
Default mode.
|
OPTIMAL
Use speed informations to compute a time optimized route.
|
| Modifier and Type | Method and Description |
|---|---|
static Route.TrafficPenaltyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Route.TrafficPenaltyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Route.TrafficPenaltyMode DISABLED
public static final Route.TrafficPenaltyMode OPTIMAL
public static final Route.TrafficPenaltyMode AVOID_CONGESTION
public static Route.TrafficPenaltyMode[] values()
for (Route.TrafficPenaltyMode c : Route.TrafficPenaltyMode.values()) System.out.println(c);
public static Route.TrafficPenaltyMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null