public static enum Debug.TripDemoResult extends java.lang.Enum<Debug.TripDemoResult>
Debug.TripDemoListener
.Enum Constant and Description |
---|
NO_ACTIVE_TRIP
No active trip (to start or stop).
|
STARTED_FAIL
Failed to start the trip demo.
|
STARTED_OK
Trip demo started OK.
|
STOPPED_FAIL
Failed to stop the trip demo.
|
STOPPED_OK
Trip demo stopped OK.
|
Modifier and Type | Method and Description |
---|---|
static Debug.TripDemoResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Debug.TripDemoResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Debug.TripDemoResult STARTED_OK
public static final Debug.TripDemoResult STOPPED_OK
public static final Debug.TripDemoResult NO_ACTIVE_TRIP
public static final Debug.TripDemoResult STARTED_FAIL
public static final Debug.TripDemoResult STOPPED_FAIL
public static Debug.TripDemoResult[] values()
for (Debug.TripDemoResult c : Debug.TripDemoResult.values()) System.out.println(c);
public static Debug.TripDemoResult valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null