public enum VerizonMediaAssetType extends Enum<VerizonMediaAssetType>
- Can be used to specify the asset type of a VerizonMediaSource
.
Enum Constant and Description |
---|
ASSET
A Video-on-demand content asset.
|
CHANNEL
A Live content channel.
|
EVENT
A Live event.
|
Modifier and Type | Method and Description |
---|---|
static VerizonMediaAssetType |
from(String assetTypeId)
Converts a textual representation of an asset type to an actual
VerizonMediaAssetType instance. |
static VerizonMediaAssetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerizonMediaAssetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerizonMediaAssetType ASSET
public static final VerizonMediaAssetType CHANNEL
public static final VerizonMediaAssetType EVENT
public static VerizonMediaAssetType[] values()
for (VerizonMediaAssetType c : VerizonMediaAssetType.values()) System.out.println(c);
public static VerizonMediaAssetType 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 VerizonMediaAssetType from(String assetTypeId)
VerizonMediaAssetType
instance.assetTypeId
- The textual representation of an asset type. (NonNull)