public enum ZendriveEventType extends java.lang.Enum<ZendriveEventType>
Enum Constant and Description |
---|
AGGRESSIVE_ACCELERATION
The driver accelerated aggressively.
|
COLLISION
The driver was involved in a collision.
|
HARD_BRAKE
The driver applied a hard brake.
|
PHONE_USE
The driver was using the phone while driving.
|
SPEEDING
The driver was speeding beyond 75mph (33.52 m/s).
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveEventType HARD_BRAKE
public static final ZendriveEventType AGGRESSIVE_ACCELERATION
public static final ZendriveEventType PHONE_USE
public static final ZendriveEventType SPEEDING
public static final ZendriveEventType COLLISION
public static ZendriveEventType[] values()
for (ZendriveEventType c : ZendriveEventType.values()) System.out.println(c);
public static ZendriveEventType 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 getValue()