public static enum NativeAd.MediaCacheFlag extends java.lang.Enum<NativeAd.MediaCacheFlag>
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<NativeAd.MediaCacheFlag> |
ALL |
Modifier and Type | Method and Description |
---|---|
long |
getCacheFlagValue() |
static NativeAd.MediaCacheFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NativeAd.MediaCacheFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NativeAd.MediaCacheFlag NONE
public static final NativeAd.MediaCacheFlag ICON
public static final NativeAd.MediaCacheFlag IMAGE
public static final NativeAd.MediaCacheFlag VIDEO
public static final java.util.EnumSet<NativeAd.MediaCacheFlag> ALL
public static NativeAd.MediaCacheFlag[] values()
for (NativeAd.MediaCacheFlag c : NativeAd.MediaCacheFlag.values()) System.out.println(c);
public static NativeAd.MediaCacheFlag 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 long getCacheFlagValue()