public enum ZendriveEventType extends 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.
|
HARD_TURN
The driver performed a hard turn.
|
PHONE_HANDLING
The driver was handling the phone while driving.
|
PHONE_SCREEN_INTERACTION
The driver was touching the phone screen while driving.
|
SPEEDING
The driver was speeding beyond 75mph (33.52 m/s).
|
STOP_SIGN_VIOLATION
The driver did not stop at a stop sign.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveEventType |
valueOf(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_HANDLING
public static final ZendriveEventType SPEEDING
public static final ZendriveEventType COLLISION
public static final ZendriveEventType HARD_TURN
public static final ZendriveEventType PHONE_SCREEN_INTERACTION
public static final ZendriveEventType STOP_SIGN_VIOLATION
public static ZendriveEventType[] values()
for (ZendriveEventType c : ZendriveEventType.values()) System.out.println(c);
public static ZendriveEventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
The value is consistent with the enum values returned by the iOS SDK.