public static enum DrivingRoutePlanOption.DrivingTrafficPolicy extends java.lang.Enum<DrivingRoutePlanOption.DrivingTrafficPolicy>
枚举常量和说明 |
---|
ROUTE_PATH
驾车路线不含路况
|
ROUTE_PATH_AND_TRAFFIC
驾车路线含路况
|
限定符和类型 | 方法和说明 |
---|---|
int |
getInt()
获取枚举值
|
static DrivingRoutePlanOption.DrivingTrafficPolicy |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DrivingRoutePlanOption.DrivingTrafficPolicy[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getInt()