Enum Constant and Description |
---|
AAC |
HLS |
ISM |
M3U8
Deprecated.
Use MediaType.HLS instead
|
MP3 |
MP4 |
MPD |
MPEG |
WEBM |
Modifier and Type | Method and Description |
---|---|
static MediaType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaType HLS
public static final MediaType MP4
@Deprecated public static final MediaType M3U8
public static final MediaType ISM
public static final MediaType MPD
public static final MediaType AAC
public static final MediaType MP3
public static final MediaType WEBM
public static final MediaType MPEG
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType 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