public enum CustomAdType extends java.lang.Enum<CustomAdType>
| Enum Constant and Description |
|---|
BANNER_300x250 |
BANNER_320x100 |
BANNER_320x50 |
INTERSTITIAL |
NATIVE_AD |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static CustomAdType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomAdType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomAdType BANNER_320x50
public static final CustomAdType BANNER_300x250
public static final CustomAdType BANNER_320x100
public static final CustomAdType INTERSTITIAL
public static final CustomAdType NATIVE_AD
public static CustomAdType[] values()
for (CustomAdType c : CustomAdType.values()) System.out.println(c);
public static CustomAdType 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 getValue()