public static enum DrivingParam.Preference extends java.lang.Enum<DrivingParam.Preference>
| Enum Constant and Description |
|---|
AVOID_HIGHWAY
不走高速
|
LEAST_FEE
少收费
|
NAV_POINT_FIRST
该策略会通过终点坐标查找所在地点(如小区/大厦等),并使用地点出入口做为目的地,使路径更为合理
|
REAL_TRAFFIC
参考实时路况
|
| Modifier and Type | Method and Description |
|---|---|
static DrivingParam.Preference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrivingParam.Preference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrivingParam.Preference REAL_TRAFFIC
public static final DrivingParam.Preference LEAST_FEE
public static final DrivingParam.Preference AVOID_HIGHWAY
public static final DrivingParam.Preference NAV_POINT_FIRST
public static DrivingParam.Preference[] values()
for (DrivingParam.Preference c : DrivingParam.Preference.values()) System.out.println(c);
public static DrivingParam.Preference 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