public enum TelemetryError extends java.lang.Enum<TelemetryError>
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
NO_INTERNET |
| Modifier and Type | Method and Description |
|---|---|
static TelemetryError |
fromValue(int value) |
int |
value() |
static TelemetryError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TelemetryError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TelemetryError INTERNAL_ERROR
public static final TelemetryError NO_INTERNET
public static TelemetryError[] values()
for (TelemetryError c : TelemetryError.values()) System.out.println(c);
public static TelemetryError 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 nullpublic int value()
public static TelemetryError fromValue(int value)