AdSize
Une version plus récente de cette classe est disponible. Rendez-vous sur la dernière version.

AdSize is the dimension of the ad control. All units are in density-independent pixel (dp).

Prolonge :Enum
Package :ads
Méthodes Class
values()
public static AdSize values()
valueOf(String)
public static AdSize valueOf(String name)
ParamètreDescription
name
Méthodes d’instance
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