public static enum MediaDownload.State extends java.lang.Enum<MediaDownload.State>
| Enum Constant and Description |
|---|
PAUSED
The Media Download has been paused, or it hasn't been resumed.
|
RUNNING
The Media Download is running, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static MediaDownload.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaDownload.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaDownload.State PAUSED
MediaDownload.resume(),
MediaDownload.pause()public static final MediaDownload.State RUNNING
MediaDownload.resume(),
MediaDownload.pause()public static MediaDownload.State[] values()
for (MediaDownload.State c : MediaDownload.State.values()) System.out.println(c);
public static MediaDownload.State 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