public static enum NativeAdBase.NativeComponentTag extends java.lang.Enum<NativeAdBase.NativeComponentTag>
Enum Constant and Description |
---|
AD_BODY |
AD_CALL_TO_ACTION |
AD_CHOICES_ICON |
AD_COVER_IMAGE |
AD_ICON |
AD_MEDIA |
AD_OPTIONS_VIEW |
AD_SOCIAL_CONTEXT |
AD_SUBTITLE |
AD_TITLE |
Modifier and Type | Method and Description |
---|---|
static void |
tagView(View view,
NativeAdBase.NativeComponentTag tag) |
static NativeAdBase.NativeComponentTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeAdBase.NativeComponentTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeAdBase.NativeComponentTag AD_ICON
public static final NativeAdBase.NativeComponentTag AD_TITLE
public static final NativeAdBase.NativeComponentTag AD_COVER_IMAGE
public static final NativeAdBase.NativeComponentTag AD_SUBTITLE
public static final NativeAdBase.NativeComponentTag AD_BODY
public static final NativeAdBase.NativeComponentTag AD_CALL_TO_ACTION
public static final NativeAdBase.NativeComponentTag AD_SOCIAL_CONTEXT
public static final NativeAdBase.NativeComponentTag AD_CHOICES_ICON
public static final NativeAdBase.NativeComponentTag AD_OPTIONS_VIEW
public static final NativeAdBase.NativeComponentTag AD_MEDIA
public static NativeAdBase.NativeComponentTag[] values()
for (NativeAdBase.NativeComponentTag c : NativeAdBase.NativeComponentTag.values()) System.out.println(c);
public static NativeAdBase.NativeComponentTag 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 static void tagView(View view, NativeAdBase.NativeComponentTag tag)