public static enum AdConfig.AdSize extends java.lang.Enum<AdConfig.AdSize>
| Enum Constant and Description |
|---|
VUNGLE_DEFAULT
should be used only along with
Vungle.getNativeAd(String, AdConfig, PlayAdCallback) for generic FlexFeed |
VUNGLE_FULLSCREEN
setting this has not effect for
Vungle.getNativeAd(String, AdConfig, PlayAdCallback) |
VUNGLE_MREC
should be used only along with
Vungle.getNativeAd(String, AdConfig, PlayAdCallback) for IAB standard MREC size |
| Modifier and Type | Method and Description |
|---|---|
static AdConfig.AdSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdConfig.AdSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdConfig.AdSize VUNGLE_FULLSCREEN
Vungle.getNativeAd(String, AdConfig, PlayAdCallback)public static final AdConfig.AdSize VUNGLE_MREC
Vungle.getNativeAd(String, AdConfig, PlayAdCallback) for IAB standard MREC sizepublic static final AdConfig.AdSize VUNGLE_DEFAULT
Vungle.getNativeAd(String, AdConfig, PlayAdCallback) for generic FlexFeedpublic static AdConfig.AdSize[] values()
for (AdConfig.AdSize c : AdConfig.AdSize.values()) System.out.println(c);
public static AdConfig.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 null