public enum AdDimension extends java.lang.Enum<AdDimension>
Terms of use
Enum Constant and Description |
---|
DEFAULT |
INTERSTITIAL_LANDSCAPE |
INTERSTITIAL_PORTRAIT
Interstitial
|
LEADERBOARD
Only available on tablets.
|
MEDIUMRECTANGLE |
NOT_SET |
SKYSCRAPER
Only available on tablets.
|
WIDESKYSCRAPER
Only available on tablets.
|
XLARGE |
XXLARGE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestString(boolean isTablet) |
static AdDimension |
getValueForString(java.lang.String string)
Get an
AdDimension from a given String. |
static AdDimension |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdDimension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdDimension DEFAULT
public static final AdDimension XLARGE
public static final AdDimension XXLARGE
public static final AdDimension MEDIUMRECTANGLE
public static final AdDimension LEADERBOARD
public static final AdDimension SKYSCRAPER
public static final AdDimension WIDESKYSCRAPER
public static final AdDimension INTERSTITIAL_PORTRAIT
public static final AdDimension INTERSTITIAL_LANDSCAPE
public static final AdDimension NOT_SET
public static AdDimension[] values()
for (AdDimension c : AdDimension.values()) System.out.println(c);
public static AdDimension 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(boolean isTablet)
public static AdDimension getValueForString(java.lang.String string)
AdDimension
from a given String.string
- AdDimension
for the given string.