public enum POBNativeTemplateType extends java.lang.Enum<POBNativeTemplateType>
Enum Constant and Description |
---|
CUSTOM
NativeAd custom template representing user defined list of assets
|
MEDIUM
NativeAd medium template representing the 4 assets: IconImage, Text, Description, CTA
(Call To Action) and MainImage
|
SMALL
NativeAd small template representing the 4 assets: IconImage, Text, Description, CTA
(Call To Action)
|
Modifier and Type | Method and Description |
---|---|
int |
getTemplateType()
Returns the int value of the template type enum constant
|
static POBNativeTemplateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static POBNativeTemplateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final POBNativeTemplateType SMALL
public static final POBNativeTemplateType MEDIUM
public static final POBNativeTemplateType CUSTOM
public static POBNativeTemplateType[] values()
for (POBNativeTemplateType c : POBNativeTemplateType.values()) System.out.println(c);
public static POBNativeTemplateType 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 getTemplateType()