Android Verizon Ads SDK Standard Edition Documentation  1.14
Public Member Functions | List of all members
AdSize Class Reference

Ad size properties. More...

Public Member Functions

 AdSize (final int width, final int height)
 Defines supported ad size. More...
 
int getHeight ()
 Get the ad size height. More...
 
int getWidth ()
 Get the ad size width. More...
 
void setHeight (final int height)
 Set the ad size height. More...
 
void setWidth (final int width)
 Set the ad size width. More...
 

Detailed Description

Ad size properties.

Constructor & Destructor Documentation

◆ AdSize()

AdSize ( final int  width,
final int  height 
)

Defines supported ad size.

Parameters
widthin DIPs
heightin DIPs

Member Function Documentation

◆ getHeight()

int getHeight ( )

Get the ad size height.

Returns
the height in DIPs

◆ getWidth()

int getWidth ( )

Get the ad size width.

Returns
the width in DIPs

◆ setHeight()

void setHeight ( final int  height)

Set the ad size height.

Parameters
heightin DIPs

◆ setWidth()

void setWidth ( final int  width)

Set the ad size width.

Parameters
widthin DIPs