Enum Constant and Description |
---|
ALL
Requests a banner of any type (except video).
|
IMAGE
Request an image banner.
|
MEDIATION
Responses parsed to be tagged as Mediation ad within SDK.
|
NATIVE
Requests a native ad.
|
REWARDED
Requests a video banner.
|
RICHMEDIA
Requests a rich media banner.
|
TEXT
Requests a text banner.
|
VAST
Requests a Vast video banner.
|
VIDEO
Requests a video banner.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getStringForValue(AdType value)
Get a String value from a given
AdType . |
static AdType |
getValueForString(java.lang.String value)
Get an
AdType value from a given String. |
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
public static final AdType IMAGE
public static final AdType TEXT
public static final AdType VIDEO
public static final AdType REWARDED
public static final AdType VAST
public static final AdType NATIVE
public static final AdType MEDIATION
public static final AdType RICHMEDIA
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 java.lang.String getStringForValue(AdType value) throws UnknownAdTypeException
AdType
.value
- AdType
AdType
.UnknownAdTypeException
public static AdType getValueForString(java.lang.String value) throws UnknownStringAdTypeValue
AdType
value from a given String.value
- String
value of AdType
UnknownStringAdTypeValue