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