Package com.ooyala.pulse
Enum RequestSettings.VideoAssetContainerFormat
- java.lang.Object
-
- java.lang.Enum<RequestSettings.VideoAssetContainerFormat>
-
- com.ooyala.pulse.RequestSettings.VideoAssetContainerFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RequestSettings.VideoAssetContainerFormat>
- Enclosing class:
- RequestSettings
public static enum RequestSettings.VideoAssetContainerFormat extends java.lang.Enum<RequestSettings.VideoAssetContainerFormat>
The video container format that you want to receive in ad responses from Pulse. Note: Which video formats are available in Pulse depends on your account settings and configuration. If the selected format is not available, the default format(s) will be used.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RequestSettings.VideoAssetContainerFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RequestSettings.VideoAssetContainerFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MP4
public static final RequestSettings.VideoAssetContainerFormat MP4
Request MP4 video assets.
-
HLS
public static final RequestSettings.VideoAssetContainerFormat HLS
Request HLS (m3u8) video assets.
-
DASH
public static final RequestSettings.VideoAssetContainerFormat DASH
Request DASH (mpd) video assets.
-
DEFAULT
public static final RequestSettings.VideoAssetContainerFormat DEFAULT
Use the default video container formats. Pulse will choose asset format(s) based on user agent and Pulse configuration settings.
-
-
Method Detail
-
values
public static RequestSettings.VideoAssetContainerFormat[] 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 (RequestSettings.VideoAssetContainerFormat c : RequestSettings.VideoAssetContainerFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestSettings.VideoAssetContainerFormat valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-