public static enum Constants.MediaStreamType extends java.lang.Enum<Constants.MediaStreamType>
Enum Constant and Description |
---|
STREAM_TYPE_AUDIO
Audio stream
|
STREAM_TYPE_SUBTITLE
Subtitle stream
|
STREAM_TYPE_UNKNOWN
Unknown stream type
|
STREAM_TYPE_VIDEO
Video stream
|
Modifier and Type | Method and Description |
---|---|
static int |
getValue(Constants.MediaStreamType type) |
static Constants.MediaStreamType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.MediaStreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.MediaStreamType STREAM_TYPE_UNKNOWN
public static final Constants.MediaStreamType STREAM_TYPE_VIDEO
public static final Constants.MediaStreamType STREAM_TYPE_AUDIO
public static final Constants.MediaStreamType STREAM_TYPE_SUBTITLE
public static Constants.MediaStreamType[] values()
for (Constants.MediaStreamType c : Constants.MediaStreamType.values()) System.out.println(c);
public static Constants.MediaStreamType 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 nullpublic static int getValue(Constants.MediaStreamType type)