Enum TagModelMedia.Type
- Object
-
- Enum<TagModelMedia.Type>
-
- com.wowza.wms.manifest.model.m3u8.tag.TagModelMedia.Type
-
- All Implemented Interfaces:
java.io.Serializable
,Comparable<TagModelMedia.Type>
- Enclosing class:
- TagModelMedia
public static enum TagModelMedia.Type extends Enum<TagModelMedia.Type>
name: type format: enumerated-string status: REQUIRED
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO
CLOSED_CAPTIONS
SUBTITLES
VIDEO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagModelMedia.Type
fromString(String text)
String
toString()
static TagModelMedia.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static TagModelMedia.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUDIO
public static final TagModelMedia.Type AUDIO
-
VIDEO
public static final TagModelMedia.Type VIDEO
-
SUBTITLES
public static final TagModelMedia.Type SUBTITLES
-
CLOSED_CAPTIONS
public static final TagModelMedia.Type CLOSED_CAPTIONS
-
-
Method Detail
-
values
public static TagModelMedia.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TagModelMedia.Type c : TagModelMedia.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TagModelMedia.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<TagModelMedia.Type>
-
fromString
public static TagModelMedia.Type fromString(String text)
-
-