public enum AdClass extends Enum<AdClass>
Enum Constant and Description |
---|
BANNER |
NATIVE |
RICHMEDIA |
SLIDESHOW |
Modifier and Type | Method and Description |
---|---|
static AdClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdClass BANNER
public static final AdClass NATIVE
public static final AdClass RICHMEDIA
public static final AdClass SLIDESHOW
public static AdClass[] values()
for (AdClass c : AdClass.values()) System.out.println(c);
public static AdClass valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null