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