AdSize is the dimension of the ad control. All units are in density-independent pixel (dp).
Расширение: | Enum |
Пакет: | ads |
values()
public static AdSize values()
valueOf(String)
public static AdSize valueOf(String name)
Параметр | Описание |
---|---|
name |
fromWidthAndHeight(int, int)
public static AdSize fromWidthAndHeight(int width, int height)
Параметр | Описание |
---|---|
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