Android SDK Version
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AdSettings.TestAdType>
Enclosing class:

public static enum AdSettings.TestAdType
extends java.lang.Enum<AdSettings.TestAdType>
implements java.io.Serializable
Ad Type to be returned when test mode is on.
Enum Constant Summary
Enum Constant and Description
CAROUSEL_IMG_SQUARE_APP_INSTALL
Carousel ad with square image and app install CTA option
CAROUSEL_IMG_SQUARE_LINK
Carousel ad with square image and link CTA option
DEFAULT
No specific ad type will be set.
IMG_16_9_APP_INSTALL
16x9 image ad with app install CTA option
IMG_16_9_LINK
16x9 image ad with link CTA option
VIDEO_HD_16_9_15S_APP_INSTALL
16x9 HD video 15 sec ad with app install CTA option
VIDEO_HD_16_9_15S_LINK
16x9 HD video 15 sec ad with link CTA option
VIDEO_HD_16_9_46S_APP_INSTALL
16x9 HD video 46 sec ad with app install CTA option
VIDEO_HD_16_9_46S_LINK
16x9 HD video 46 sec ad with link CTA option
VIDEO_HD_9_16_39S_APP_INSTALL
9x16 HD video 39 sec ad with app install CTA option
VIDEO_HD_9_16_39S_LINK
9x16 HD video 39 sec ad with link CTA option
Field Summary
Modifier and TypeField and Description
static longserialVersionUID 
Method Summary
Modifier and TypeMethod and Description
java.lang.StringgetAdTypeString() 
java.lang.StringgetHumanReadable() 
static AdSettings.TestAdTypevalueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static AdSettings.TestAdType[]values()
Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail

DEFAULT

public static final AdSettings.TestAdType DEFAULT
No specific ad type will be set. This will return a random ad type when test mode is on.

IMG_16_9_APP_INSTALL

public static final AdSettings.TestAdType IMG_16_9_APP_INSTALL
16x9 image ad with app install CTA option

IMG_16_9_LINK

public static final AdSettings.TestAdType IMG_16_9_LINK
16x9 image ad with link CTA option

VIDEO_HD_16_9_46S_APP_INSTALL

public static final AdSettings.TestAdType VIDEO_HD_16_9_46S_APP_INSTALL
16x9 HD video 46 sec ad with app install CTA option

VIDEO_HD_16_9_46S_LINK

public static final AdSettings.TestAdType VIDEO_HD_16_9_46S_LINK
16x9 HD video 46 sec ad with link CTA option

VIDEO_HD_16_9_15S_APP_INSTALL

public static final AdSettings.TestAdType VIDEO_HD_16_9_15S_APP_INSTALL
16x9 HD video 15 sec ad with app install CTA option

VIDEO_HD_16_9_15S_LINK

public static final AdSettings.TestAdType VIDEO_HD_16_9_15S_LINK
16x9 HD video 15 sec ad with link CTA option

VIDEO_HD_9_16_39S_APP_INSTALL

public static final AdSettings.TestAdType VIDEO_HD_9_16_39S_APP_INSTALL
9x16 HD video 39 sec ad with app install CTA option

VIDEO_HD_9_16_39S_LINK

public static final AdSettings.TestAdType VIDEO_HD_9_16_39S_LINK
9x16 HD video 39 sec ad with link CTA option

CAROUSEL_IMG_SQUARE_APP_INSTALL

public static final AdSettings.TestAdType CAROUSEL_IMG_SQUARE_APP_INSTALL
Carousel ad with square image and app install CTA option

CAROUSEL_IMG_SQUARE_LINK

public static final AdSettings.TestAdType CAROUSEL_IMG_SQUARE_LINK
Carousel ad with square image and link CTA option
Field Detail

serialVersionUID

public static final long serialVersionUID
Method Detail

values

public static AdSettings.TestAdType[] 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 (AdSettings.TestAdType c : AdSettings.TestAdType.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AdSettings.TestAdType 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

getAdTypeString

public java.lang.String getAdTypeString()

getHumanReadable

public java.lang.String getHumanReadable()