public static enum Media.StreamType extends Enum<Media.StreamType>
| Enum Constant and Description |
|---|
BUFFERED
VOD and DVR content
|
LIVE
Live linear stream content
|
NONE
Not specified/Other
|
| Modifier and Type | Method and Description |
|---|---|
static Media.StreamType |
typeOf(String streamType)
Parses the specified string and returns the corresponding
Media.StreamType, or null if no match could be found. |
static Media.StreamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media.StreamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media.StreamType BUFFERED
public static final Media.StreamType LIVE
public static final Media.StreamType NONE
public static Media.StreamType[] values()
for (Media.StreamType c : Media.StreamType.values()) System.out.println(c);
public static Media.StreamType 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 null@Nullable public static Media.StreamType typeOf(String streamType)
Media.StreamType, or null if no match could be found.streamType - the string to parse.Media.StreamType or null.Copyright © 2022. All rights reserved.