| Enum Constant and Description |
|---|
SIZE_1024x768 |
SIZE_160x600 |
SIZE_250x250 |
SIZE_300x250 |
SIZE_300x50 |
SIZE_300x600 |
SIZE_320x100 |
SIZE_320x480 |
SIZE_320x50 |
SIZE_480x320 |
SIZE_728x90 |
SIZE_768x1024 |
SIZE_INTERSTITIAL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdLayoutSize() |
int |
getHeight() |
int |
getWidth() |
java.lang.String |
toString() |
static AdSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdSize SIZE_320x50
public static final AdSize SIZE_300x250
public static final AdSize SIZE_300x50
public static final AdSize SIZE_320x480
public static final AdSize SIZE_1024x768
public static final AdSize SIZE_768x1024
public static final AdSize SIZE_728x90
public static final AdSize SIZE_160x600
public static final AdSize SIZE_250x250
public static final AdSize SIZE_300x600
public static final AdSize SIZE_320x100
public static final AdSize SIZE_480x320
public static final AdSize SIZE_INTERSTITIAL
public static AdSize[] values()
for (AdSize c : AdSize.values()) System.out.println(c);
public static AdSize 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 int getWidth()
public int getHeight()
public java.lang.String getAdLayoutSize()
public java.lang.String toString()
toString in class java.lang.Enum<AdSize>