public enum ZendriveEventType extends Enum<ZendriveEventType> implements ZendriveValueEnum
Enum Constant and Description |
---|
AGGRESSIVE_ACCELERATION
The driver accelerated aggressively.
|
COLLISION
The driver was involved in a collision.
|
HANDS_FREE_PHONE_CALL
The driver was on a phone call during the trip using a Bluetooth or hands-free device.
|
HARD_BRAKE
The driver applied a hard brake.
|
HARD_TURN
The driver performed a hard turn.
|
PASSIVE_DISTRACTION
The driver's screen was turned on but he/she was not actively interacting with the phone.
|
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 final ZendriveEventType HANDS_FREE_PHONE_CALL
public static final ZendriveEventType PASSIVE_DISTRACTION
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()
ZendriveValueEnum
The value is consistent with the enum values returned by the iOS SDK.
getValue
in interface ZendriveValueEnum