Class Info
public class AdSize extends Object
广告尺寸。
Constructor Name
AdSize(int width, int height)
广告尺寸的构造函数。
Qualifier and Type
Method Name and Description
int
getHeight()
获取广告高度。
getWidth()
获取广告宽度。
Constructor
public AdSize(int width, int height)
广告尺寸的构造方法,用来创建一个新的广告尺寸对象。
Parameters
Name
Description
width
广告宽度,单位:dp。
height
广告高度,单位:dp。
Method
public int getHeight()
Returns
Type
public int getWidth()