AdSize is the dimension of the ad control. All units are in density-independent pixel (dp).
Extends: | Enum |
Package: | ads |
values()
public static AdSize values()
valueOf(String)
public static AdSize valueOf(String name)
Parameter | Description |
---|---|
name |
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