Android SDK Version
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NativeAdView.Type>
Enclosing class:

Deprecated.
@Deprecated
public static enum NativeAdView.Type
extends java.lang.Enum<NativeAdView.Type>
Since:
4.6
Enum Constant Summary
Enum Constant and Description
HEIGHT_300
Deprecated. 
HEIGHT_400
Deprecated. 
Method Summary
Modifier and TypeMethod and Description
intgetEnumCode()
Deprecated. 
 
intgetHeight()
Deprecated. 
intgetValue()
Deprecated. 
intgetWidth()
Deprecated. 
static NativeAdView.TypevalueOf(java.lang.String name)
Deprecated. 
Returns the enum constant of this type with the specified name.
static NativeAdView.Type[]values()
Deprecated. 
Returns an array containing the constants of this enum type, in the order they are declared.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail

HEIGHT_300

@Deprecated
public static final NativeAdView.Type HEIGHT_300
Deprecated. 
Native template with height 300dp and flexible width, includes image, icon, title, context, and CTA button.

HEIGHT_400

@Deprecated
public static final NativeAdView.Type HEIGHT_400
Deprecated. 
Native template with height 400dp and flexible width, includes image, icon, title, subtitle, description, context, and CTA button.
Method Detail

values

public static NativeAdView.Type[] values()
Deprecated. 
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 (NativeAdView.Type c : NativeAdView.Type.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NativeAdView.Type valueOf(java.lang.String name)
Deprecated. 
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 name
java.lang.NullPointerException - if the argument is null

getWidth

@Deprecated
public int getWidth()
Deprecated. 
Gets the width of the ad control.
Returns:
width of the ad control in DP

getHeight

@Deprecated
public int getHeight()
Deprecated. 
Gets the height of the ad control.
Returns:
height of the ad control in DP

getValue

@Deprecated
public int getValue()
Deprecated. 

getEnumCode

public int getEnumCode()
Deprecated.