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