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.
  • Enum Constant Details

    • ON_BEFORE_CONTENT

      public static final RequestSettings.InsertionPointType ON_BEFORE_CONTENT
      Request ads to be played before the content, or 'preroll' ads.
    • PLAYBACK_POSITION

      public static final RequestSettings.InsertionPointType PLAYBACK_POSITION
      Request midroll ads and/or overlay ads, to be played at the positions specified in linearPlaybackPositions and nonlinearPlaybackPositions respectively.
    • ON_CONTENT_END

      public static final RequestSettings.InsertionPointType ON_CONTENT_END
      Request ads to be played after the content, or 'postroll' ads.
    • ON_PAUSE

      public static final RequestSettings.InsertionPointType ON_PAUSE
      Request ads to be played when the content is paused.
    • PLAYBACK_TIME

      public static final RequestSettings.InsertionPointType PLAYBACK_TIME
      Request overlay ads to be displayed; based on the content duration, which must be specified as well.
  • Method Details

    • values

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