public static enum Resource.Status extends java.lang.Enum<Resource.Status>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
DOWNLOADED |
DOWNLOADING |
ERROR |
PRECONNECT |
PREDOWNLOAD |
PROCESSING |
Modifier and Type | Method and Description |
---|---|
static Resource.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Resource.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource.Status PRECONNECT
public static final Resource.Status CONNECTING
public static final Resource.Status CONNECTED
public static final Resource.Status PREDOWNLOAD
public static final Resource.Status DOWNLOADING
public static final Resource.Status DOWNLOADED
public static final Resource.Status ERROR
public static final Resource.Status PROCESSING
public static Resource.Status[] values()
for (Resource.Status c : Resource.Status.values()) System.out.println(c);
public static Resource.Status 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