目录

AdSize

Class Info

public class AdSize extends Object

Ad dimensions.

Public Constructor Summary

Constructor Name

AdSize(int width, int height)

Constructs an AdSize object.

Public Method Summary

Qualifier and Type

Method Name and Description

int

getHeight()

Obtains the ad height.

int

getWidth()

Obtains the ad width.

Public Constructors

[h2]AdSize

Constructor

public AdSize(int width, int height)

Constructs an AdSize object.

Parameters

Name

Description

width

Ad width, in dp.

height

Ad height, in dp.

Public Methods

[h2]getHeight

Method

public int getHeight()

Obtains the ad height.

Returns

Type

Description

int

Ad height, in dp.

[h2]getWidth

Method

public int getWidth()

Obtains the ad width.

Returns

Type

Description

int

Ad width, in dp.