Enum Class StartAppAd.AdMode

java.lang.Object
java.lang.Enum<StartAppAd.AdMode>
com.startapp.sdk.adsbase.StartAppAd.AdMode
All Implemented Interfaces:
Serializable, Comparable<StartAppAd.AdMode>, Constable
Enclosing class:
StartAppAd

public static enum StartAppAd.AdMode extends Enum<StartAppAd.AdMode>
Represents different kinds of ad content
  • Enum Constant Details

    • AUTOMATIC

      public static final StartAppAd.AdMode AUTOMATIC
      Represents any kind of ad content, including the deprecated constants.
    • FULLPAGE

      public static final StartAppAd.AdMode FULLPAGE
      Represents any kind of ad content, such as video, static image or interactive HTML ad.
    • REWARDED_VIDEO

      public static final StartAppAd.AdMode REWARDED_VIDEO
      Represents only the Rewarded Video Ad.
    • VIDEO

      public static final StartAppAd.AdMode VIDEO
      Represents only the video ad content.
  • Method Details

    • values

      public static StartAppAd.AdMode[] 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 StartAppAd.AdMode 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