public enum MediaInfoType extends Enum<MediaInfoType>
Enum Constant and Description |
---|
AUDIO |
CLOSED_CAPTIONS |
SUBTITLES |
VIDEO |
VTT |
Modifier and Type | Method and Description |
---|---|
static MediaInfoType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static MediaInfoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaInfoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaInfoType AUDIO
public static final MediaInfoType VIDEO
public static final MediaInfoType SUBTITLES
public static final MediaInfoType CLOSED_CAPTIONS
public static final MediaInfoType VTT
public static MediaInfoType[] values()
for (MediaInfoType c : MediaInfoType.values()) System.out.println(c);
public static MediaInfoType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public String toString()
toString
in class Enum<MediaInfoType>
public static MediaInfoType fromValue(String text)
Copyright © 2022. All rights reserved.