public enum ZendriveTurnDirection extends Enum<ZendriveTurnDirection> implements ZendriveValueEnum
ZendriveEventType.HARD_TURN
event reported by Zendrive.
This will be null for other event types.Enum Constant and Description |
---|
LEFT
Indicates that the turn direction of the event was Left.
|
RIGHT
Indicates that the turn direction of the event was right.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Provides a value for each enum value that is stable across releases.
|
static ZendriveTurnDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZendriveTurnDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZendriveTurnDirection LEFT
public static final ZendriveTurnDirection RIGHT
public static ZendriveTurnDirection[] values()
for (ZendriveTurnDirection c : ZendriveTurnDirection.values()) System.out.println(c);
public static ZendriveTurnDirection 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