public enum VerizonMediaPreplayResponseType extends Enum<VerizonMediaPreplayResponseType>
Enum Constant and Description |
---|
LIVE
The content is of type LIVE.
|
VOD
The content is of type VOD.
|
Modifier and Type | Method and Description |
---|---|
static VerizonMediaPreplayResponseType |
from(String typeId)
Convert a textual representation to an actual
VerizonMediaPreplayResponseType instance. |
static VerizonMediaPreplayResponseType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerizonMediaPreplayResponseType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerizonMediaPreplayResponseType VOD
public static final VerizonMediaPreplayResponseType LIVE
public static VerizonMediaPreplayResponseType[] values()
for (VerizonMediaPreplayResponseType c : VerizonMediaPreplayResponseType.values()) System.out.println(c);
public static VerizonMediaPreplayResponseType 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 static VerizonMediaPreplayResponseType from(String typeId)
VerizonMediaPreplayResponseType
instance.typeId
- the textual representation of the Preplay response type. (NonNull)VerizonMediaPreplayResponseType
enum entry. (Nullable)- Will return null if the textual representation does not exist.