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
RECTANGLE_HEIGHT_250
Represents a flexible rectangle ad size, where width depends on its container width, and height is fixed as 250dp.
public static final AdSize RECTANGLE_HEIGHT_250