Package com.ooyala.pulse
Enum Class RequestSettings.SeekMode
- All Implemented Interfaces:
Serializable
,Comparable<RequestSettings.SeekMode>
,Constable
- Enclosing class:
- RequestSettings
Modes which determine how the session behaves when a viewer seeks past one or more midroll ad breaks.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDo not enforce midroll ad breaks to be played.If the viewer seeks past one or more ad breaks, all of them are played before content resumes.If the viewer seeks past one or more ad breaks, the first one is played before content resumes.If the viewer seeks past one or more ad breaks, the last one is played before content resumes. -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestSettings.SeekMode
Returns the enum constant of this class with the specified name.static RequestSettings.SeekMode[]
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
-
IGNORE
Do not enforce midroll ad breaks to be played. This is the default. -
PLAY_FIRST
If the viewer seeks past one or more ad breaks, the first one is played before content resumes. -
PLAY_LAST
If the viewer seeks past one or more ad breaks, the last one is played before content resumes. -
PLAY_ALL_ADS
If the viewer seeks past one or more ad breaks, all of them are played before content resumes.
-
-
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
-