public enum PlaylistType extends Enum<PlaylistType>
Java class for PlaylistType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PlaylistType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="EVENT"/>
<enumeration value="LIVE"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EVENT
The playlist is an event, which means that media segments can only be added to the end of the
playlist.
|
LIVE
The playlist is a live stream and there are no restrictions on whether media segments can be
removed from the beginning of the playlist.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static PlaylistType |
fromValue(String v) |
String |
value() |
static PlaylistType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlaylistType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlaylistType EVENT
public static final PlaylistType LIVE
public static final PlaylistType UNKNOWN
public static PlaylistType[] values()
for (PlaylistType c : PlaylistType.values()) System.out.println(c);
public static PlaylistType 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 value()
public static PlaylistType fromValue(String v)
Copyright © 2018. All Rights Reserved.