public enum AdSize extends Enum<AdSize>
Enum Constant and Description |
---|
AD_300_250 |
AD_320_100 |
AD_320_50 |
AD_468_60 |
AD_728_90 |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
Set<AdType> |
types()
Returns the types of ads that support this size
|
static AdSize |
valueOf(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 AD_300_250
public static final AdSize AD_728_90
public static final AdSize AD_320_50
public static final AdSize AD_320_100
public static final AdSize AD_468_60
public static AdSize[] values()
for (AdSize c : AdSize.values()) System.out.println(c);
public static AdSize 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