Package com.ooyala.pulse
Enum Class RequestSettings.InsertionPointType
java.lang.Object
java.lang.Enum<RequestSettings.InsertionPointType>
com.ooyala.pulse.RequestSettings.InsertionPointType
- All Implemented Interfaces:
Serializable
,Comparable<RequestSettings.InsertionPointType>
,Constable
- Enclosing class:
- RequestSettings
public static enum RequestSettings.InsertionPointType
extends Enum<RequestSettings.InsertionPointType>
Potential content form values used to determine the ad insertion policy.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRequest ads to be played before the content, or 'preroll' ads.Request ads to be played after the content, or 'postroll' ads.Request ads to be played when the content is paused.Request midroll ads and/or overlay ads, to be played at the positions specified in linearPlaybackPositions and nonlinearPlaybackPositions respectively.Request overlay ads to be displayed; based on the content duration, which must be specified as well. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static RequestSettings.InsertionPointType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
ON_BEFORE_CONTENT
Request ads to be played before the content, or 'preroll' ads. -
PLAYBACK_POSITION
Request midroll ads and/or overlay ads, to be played at the positions specified in linearPlaybackPositions and nonlinearPlaybackPositions respectively. -
ON_CONTENT_END
Request ads to be played after the content, or 'postroll' ads. -
ON_PAUSE
Request ads to be played when the content is paused. -
PLAYBACK_TIME
Request overlay ads to be displayed; based on the content duration, which must be specified as well.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-