Enum Class RequestSettings.SeekMode

java.lang.Object
java.lang.Enum<RequestSettings.SeekMode>
com.ooyala.pulse.RequestSettings.SeekMode
All Implemented Interfaces:
Serializable, Comparable<RequestSettings.SeekMode>, Constable
Enclosing class:
RequestSettings

public static enum RequestSettings.SeekMode extends Enum<RequestSettings.SeekMode>
Modes which determine how the session behaves when a viewer seeks past one or more midroll ad breaks.
  • Enum Constant Details

    • IGNORE

      public static final RequestSettings.SeekMode IGNORE
      Do not enforce midroll ad breaks to be played. This is the default.
    • PLAY_FIRST

      public static final RequestSettings.SeekMode PLAY_FIRST
      If the viewer seeks past one or more ad breaks, the first one is played before content resumes.
    • PLAY_LAST

      public static final RequestSettings.SeekMode PLAY_LAST
      If the viewer seeks past one or more ad breaks, the last one is played before content resumes.
    • PLAY_ALL_ADS

      public static final RequestSettings.SeekMode PLAY_ALL_ADS
      If the viewer seeks past one or more ad breaks, all of them are played before content resumes.
  • Method Details

    • values

      public static RequestSettings.SeekMode[] 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

      public static RequestSettings.SeekMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null