目录

CLASS info
public class AdSize extends Object
广告尺寸。

Public Constructor Summary

Constructor name
AdSize(int width, int height)
广告尺寸的构造函数。

Public Method Summary

Return typeMethod name
intgetHeight()
获取广告高度,以dp为单位。
intgetWidth()
获取广告宽度,以dp为单位。
Constructor
public AdSize(int width,int height)
广告尺寸的构造方法,用来创建一个新的广告尺寸对象。
Method
public int getHeight()
获取广告高度,以dp为单位

Return

typedesc
int广告高度(dp)。
Method
public int getWidth()
获取广告宽度,以dp为单位

Return

typedesc
int广告宽度(dp)。