AdSize is the dimension of the ad control. All units are in density-independent pixel (dp).
Hereda de: | Enum |
Paquete: | ads |
values()
public static AdSize values()
valueOf(String)
public static AdSize valueOf(String name)
Parámetro | Descripción |
---|---|
name |
fromWidthAndHeight(int, int)
public static AdSize fromWidthAndHeight(int width, int height)
Parámetro | Descripción |
---|---|
width | |
height |
getWidth()
Gets the width of the ad control.
public int getWidth()
getHeight()
Gets the height of the ad control.
public int getHeight()
BANNER_320_50
public static final AdSize BANNER_320_50
INTERSTITIAL
public static final AdSize INTERSTITIAL
BANNER_HEIGHT_50
public static final AdSize BANNER_HEIGHT_50
BANNER_HEIGHT_90
public static final AdSize BANNER_HEIGHT_90
RECTANGLE_HEIGHT_250
public static final AdSize RECTANGLE_HEIGHT_250