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