public static enum Trip.SpeedLimitResult extends java.lang.Enum<Trip.SpeedLimitResult>
Enum Constant and Description |
---|
INVALID_URI
The passed in Uri is invalid.
|
NO_ACTIVE_TRIP
No active trip.
|
OUT_OF_RANGE
One of the parameters are out of range.
|
SPEED_LIMIT_CLEARED
Speed limit cleared.
|
SPEED_LIMIT_SET
Speed limit set.
|
Modifier and Type | Method and Description |
---|---|
static Trip.SpeedLimitResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Trip.SpeedLimitResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Trip.SpeedLimitResult OUT_OF_RANGE
public static final Trip.SpeedLimitResult INVALID_URI
public static final Trip.SpeedLimitResult NO_ACTIVE_TRIP
public static final Trip.SpeedLimitResult SPEED_LIMIT_SET
public static final Trip.SpeedLimitResult SPEED_LIMIT_CLEARED
public static Trip.SpeedLimitResult[] values()
for (Trip.SpeedLimitResult c : Trip.SpeedLimitResult.values()) System.out.println(c);
public static Trip.SpeedLimitResult 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