AdSize
เวอร์ชั่นที่ใหม่กว่าของคลาสนี้พร้อมแล้ว ตรวจสอบได้ เวอร์ชั่นล่าสุด

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
วิธีการแบบอินสแตนซ์
getWidth()

Gets the width of the ad control.

public int getWidth()
Returns
Width of the ad control in DP
getHeight()

Gets the height of the ad control.

public int getHeight()
Returns
Height of the ad control in DP
INTERSTITIAL
A full screen interstitial size.
public static final AdSize INTERSTITIAL