Enum Class AdFormat

java.lang.Object
java.lang.Enum<AdFormat>
org.prebid.mobile.api.data.AdFormat
All Implemented Interfaces:
Serializable, Comparable<AdFormat>, Constable

public enum AdFormat extends Enum<AdFormat>
Internal ad format. Must be set up only inside the SDK.
  • Enum Constant Details

    • INTERSTITIAL

      public static final AdFormat INTERSTITIAL
    • NATIVE

      public static final AdFormat NATIVE
    • VAST

      public static final AdFormat VAST
  • Method Details

    • values

      public static AdFormat[] 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 AdFormat 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
    • fromSet

      public static EnumSet<AdFormat> fromSet(EnumSet<AdUnitFormat> adUnitFormats, boolean isInterstitial)