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

      Enum Constants 
      Enum Constant Description
      DASH
      Request DASH (mpd) video assets.
      DEFAULT
      Use the default video container formats.
      HLS
      Request HLS (m3u8) video assets.
      MP4
      Request MP4 video assets.
    • 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 name
        java.lang.NullPointerException - if the argument is null