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