public enum AdDimension extends java.lang.Enum<AdDimension>
Terms of use
Enum Constant and Description |
---|
DEFAULT
Deprecated.
|
INTERSTITIAL_LANDSCAPE |
INTERSTITIAL_PORTRAIT
Interstitial
|
LEADERBOARD
Only available on tablets.
|
MEDIUMRECTANGLE |
NOT_SET
Deprecated.
|
SKYSCRAPER
Only available on tablets.
|
WIDESKYSCRAPER
Deprecated.
|
XLARGE |
XXLARGE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestString(boolean isTablet) |
static AdDimension |
getValueForString(java.lang.String 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.
|
@Deprecated 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
@Deprecated public static final AdDimension WIDESKYSCRAPER
public static final AdDimension INTERSTITIAL_PORTRAIT
public static final AdDimension INTERSTITIAL_LANDSCAPE
@Deprecated public static final AdDimension NOT_SET
null
instead using this valuepublic 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)