public enum ZendriveAccidentConfidence extends Enum<ZendriveAccidentConfidence> implements ZendriveValueEnum
AccidentInfo
for details.Enum Constant and Description |
---|
HIGH
Accident was detected with a high confidence.
|
INVALID
This indicates that the collision did not happen.
|
LOW
Accident was detected with a low confidence.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveAccidentConfidence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveAccidentConfidence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveAccidentConfidence HIGH
public static final ZendriveAccidentConfidence LOW
public static final ZendriveAccidentConfidence INVALID
multiple accident
callbacks. If a ZendriveBroadcastReceiver.onPotentialAccident(android.content.Context, com.zendrive.sdk.AccidentInfo)
was called earlier,
this field is used to indicate that the accident did not happen and any notification shown
about it should be withdrawn.public static ZendriveAccidentConfidence[] values()
for (ZendriveAccidentConfidence c : ZendriveAccidentConfidence.values()) System.out.println(c);
public static ZendriveAccidentConfidence 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