Package org.prebid.mobile
Enum NativeAdUnit.PLACEMENTTYPE
- java.lang.Object
-
- java.lang.Enum<NativeAdUnit.PLACEMENTTYPE>
-
- org.prebid.mobile.NativeAdUnit.PLACEMENTTYPE
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NativeAdUnit.PLACEMENTTYPE>
- Enclosing class:
- NativeAdUnit
public static enum NativeAdUnit.PLACEMENTTYPE extends java.lang.Enum<NativeAdUnit.PLACEMENTTYPE>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_ATOMIC_UNITCONTENT_FEEDCUSTOMOUTSIDE_CORE_CONTENTRECOMMENDATION_WIDGET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetID()voidsetID(int id)static NativeAdUnit.PLACEMENTTYPEvalueOf(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.
-
-
-
Enum Constant Detail
-
CONTENT_FEED
public static final NativeAdUnit.PLACEMENTTYPE CONTENT_FEED
-
CONTENT_ATOMIC_UNIT
public static final NativeAdUnit.PLACEMENTTYPE CONTENT_ATOMIC_UNIT
-
OUTSIDE_CORE_CONTENT
public static final NativeAdUnit.PLACEMENTTYPE OUTSIDE_CORE_CONTENT
-
RECOMMENDATION_WIDGET
public static final NativeAdUnit.PLACEMENTTYPE RECOMMENDATION_WIDGET
-
CUSTOM
public static final NativeAdUnit.PLACEMENTTYPE CUSTOM
-
-
Method Detail
-
values
public static NativeAdUnit.PLACEMENTTYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NativeAdUnit.PLACEMENTTYPE c : NativeAdUnit.PLACEMENTTYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NativeAdUnit.PLACEMENTTYPE valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getID
public int getID()
-
setID
public void setID(int id)
-
-