public enum EmergencyEventType extends Enum<EmergencyEventType>
| Enum Constant and Description |
|---|
FAULT
Emergency status cannot be determined
|
FRONTAL
Frontal collision has happened.
|
NO_EVENT
No emergency event has happened.
|
NOT_SUPPORTED
The signal is not supported
|
REAR
Rear collision has happened.
|
ROLLOVER
A rollover event has happened.
|
SIDE
Side collision has happened.
|
| Modifier and Type | Method and Description |
|---|---|
static EmergencyEventType |
valueForString(String value)
Convert String to EmergencyEventType
|
static EmergencyEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmergencyEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmergencyEventType NO_EVENT
public static final EmergencyEventType FRONTAL
public static final EmergencyEventType SIDE
public static final EmergencyEventType REAR
public static final EmergencyEventType ROLLOVER
public static final EmergencyEventType NOT_SUPPORTED
public static final EmergencyEventType FAULT
public static EmergencyEventType[] values()
for (EmergencyEventType c : EmergencyEventType.values()) System.out.println(c);
public static EmergencyEventType 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 static EmergencyEventType valueForString(String value)
value - String