Enum Class AdType

java.lang.Object
java.lang.Enum<AdType>
io.appmetrica.analytics.AdType
All Implemented Interfaces:
Serializable, Comparable<AdType>, Constable

public enum AdType extends Enum<AdType>
Enum containing possible Ad Type values.
See Also:
  • Enum Constant Details

    • NATIVE

      public static final AdType NATIVE
      NATIVE Ad Type.
    • REWARDED

      public static final AdType REWARDED
      REWARDED Ad Type.
    • INTERSTITIAL

      public static final AdType INTERSTITIAL
      INTERSTITIAL Ad Type.
    • MREC

      public static final AdType MREC
      MREC Ad Type.
    • OTHER

      public static final AdType OTHER
      OTHER Ad Type.
  • Method Details

    • values

      public static AdType[] 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 AdType 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