public static enum NativeAdUnit.PLACEMENTTYPE extends java.lang.Enum<NativeAdUnit.PLACEMENTTYPE>
| Enum Constant and Description |
|---|
CONTENT_ATOMIC_UNIT |
CONTENT_FEED |
CUSTOM |
OUTSIDE_CORE_CONTENT |
RECOMMENDATION_WIDGET |
| Modifier and Type | Method and Description |
|---|---|
int |
getID() |
void |
setID(int id) |
static NativeAdUnit.PLACEMENTTYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeAdUnit.PLACEMENTTYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeAdUnit.PLACEMENTTYPE CONTENT_FEED
public static final NativeAdUnit.PLACEMENTTYPE CONTENT_ATOMIC_UNIT
public static final NativeAdUnit.PLACEMENTTYPE OUTSIDE_CORE_CONTENT
public static final NativeAdUnit.PLACEMENTTYPE RECOMMENDATION_WIDGET
public static final NativeAdUnit.PLACEMENTTYPE CUSTOM
public static NativeAdUnit.PLACEMENTTYPE[] values()
for (NativeAdUnit.PLACEMENTTYPE c : NativeAdUnit.PLACEMENTTYPE.values()) System.out.println(c);
public static NativeAdUnit.PLACEMENTTYPE 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 getID()
public void setID(int id)