public static enum GPS.AppState extends java.lang.Enum<GPS.AppState>
Modifier and Type | Method and Description |
---|---|
static GPS.AppState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GPS.AppState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GPS.AppState ON
public static final GPS.AppState SEARCHING
public static final GPS.AppState FAILURE
public static final GPS.AppState TIMEOUT
public static final GPS.AppState OFF
public static GPS.AppState[] values()
for (GPS.AppState c : GPS.AppState.values()) System.out.println(c);
public static GPS.AppState 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