public enum CaptionType extends java.lang.Enum<CaptionType>
Enum Constant and Description |
---|
TTML
Indicates DFXP/TTML captioning.
|
UNKNOWN
Indicates that no CaptionType was specified.
|
WEBVTT
Indicates WebVTT captioning.
|
Modifier and Type | Method and Description |
---|---|
static CaptionType |
fromString(java.lang.String text) |
java.lang.String |
toString() |
static CaptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CaptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CaptionType UNKNOWN
public static final CaptionType TTML
public static final CaptionType WEBVTT
public static CaptionType[] values()
for (CaptionType c : CaptionType.values()) System.out.println(c);
public static CaptionType 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 java.lang.String toString()
toString
in class java.lang.Enum<CaptionType>
public static CaptionType fromString(java.lang.String text)