public enum AdType extends java.lang.Enum<AdType>
Enum Constant and Description |
---|
BRANDING
XappAd with one segment of ad audio and no actions/engagement
|
CONVERSION
XappAd with one or two segments of ad audio.
|
CUSTOM |
ENGAGEMENT
XappAd with two segments of ad audio with a chance for engagement after the first segment, where the user is prompted to respond to the ad.
|
Modifier and Type | Method and Description |
---|---|
static AdType |
fromReply(AdRequestReply reply) |
static AdType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdType BRANDING
public static final AdType ENGAGEMENT
public static final AdType CONVERSION
public static final AdType CUSTOM
public static AdType[] values()
for (AdType c : AdType.values()) System.out.println(c);
public static AdType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AdType fromReply(AdRequestReply reply)