Enum Constant and Description |
---|
ALL
Requests a normal banner (image, rich media)
|
IMAGE
Deprecated.
|
MEDIATION
Deprecated.
|
NATIVE
Requests a native ad.
|
REWARDED
Requests a video banner.
|
RICHMEDIA
Deprecated.
|
VAST
Requests a Vast video banner.
|
VIDEO
Requests a video banner.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestString()
The string to be used in a SOMA request
|
static AdType |
getValueForString(java.lang.String string) |
boolean |
isVideo() |
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 ALL
@Deprecated public static final AdType IMAGE
AdType#ALL
public static final AdType VIDEO
public static final AdType REWARDED
public static final AdType VAST
public static final AdType NATIVE
@Deprecated public static final AdType MEDIATION
@Deprecated public static final AdType RICHMEDIA
AdType#ALL
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 java.lang.String getRequestString()
public boolean isVideo()
public static AdType getValueForString(java.lang.String string)