public static enum DrivingRoutePlanOption.DrivingTrafficPolicy extends java.lang.Enum<DrivingRoutePlanOption.DrivingTrafficPolicy>
Enum Constant and Description |
---|
ROUTE_PATH
驾车路线不含路况
|
ROUTE_PATH_AND_TRAFFIC
驾车路线含路况
|
Modifier and Type | Method and Description |
---|---|
int |
getInt()
获取枚举值
|
static DrivingRoutePlanOption.DrivingTrafficPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingRoutePlanOption.DrivingTrafficPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingRoutePlanOption.DrivingTrafficPolicy ROUTE_PATH
public static final DrivingRoutePlanOption.DrivingTrafficPolicy ROUTE_PATH_AND_TRAFFIC
public static DrivingRoutePlanOption.DrivingTrafficPolicy[] values()
for (DrivingRoutePlanOption.DrivingTrafficPolicy c : DrivingRoutePlanOption.DrivingTrafficPolicy.values()) System.out.println(c);
public static DrivingRoutePlanOption.DrivingTrafficPolicy 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 nullpublic int getInt()