public enum AMapDriveEventType extends java.lang.Enum<AMapDriveEventType>
枚举常量和说明 |
---|
EventType_Accelerate
急加速
|
EventType_Break
急减速
|
EventType_LeftLaneChange
急超车-左转
|
EventType_LeftTurn
急转弯-左转
|
EventType_None
无效值
|
EventType_RightLaneChange
急超车-右转
|
EventType_RightTurn
急转弯-右转
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue()
获取枚举对应的整型值
|
static AMapDriveEventType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static AMapDriveEventType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AMapDriveEventType EventType_None
public static final AMapDriveEventType EventType_LeftTurn
public static final AMapDriveEventType EventType_RightTurn
public static final AMapDriveEventType EventType_LeftLaneChange
public static final AMapDriveEventType EventType_RightLaneChange
public static final AMapDriveEventType EventType_Accelerate
public static final AMapDriveEventType EventType_Break
public static AMapDriveEventType[] values()
for (AMapDriveEventType c : AMapDriveEventType.values()) System.out.println(c);
public static AMapDriveEventType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()