Ads C++
Public Member Functions
ludei::ads::AdBanner Class Referenceabstract

Public Member Functions

virtual void show ()=0
 
virtual void hide ()=0
 
virtual int32_t getWidth () const =0
 
virtual int32_t getHeight () const =0
 
virtual void load ()=0
 
virtual void setListener (AdBannerListener *listener)=0
 
virtual void setLayout (AdBannerLayout layout)=0
 
virtual void setPosition (float x, float y)=0
 

Detailed Description

Defines a banner ad.

Member Function Documentation

virtual int32_t ludei::ads::AdBanner::getHeight ( ) const
pure virtual

Returns the height of the banner.

Returns
The height of the banner.
virtual int32_t ludei::ads::AdBanner::getWidth ( ) const
pure virtual

Returns the width of the banner.

Returns
The width of the banner.
virtual void ludei::ads::AdBanner::hide ( )
pure virtual

Hides the banner.

virtual void ludei::ads::AdBanner::load ( )
pure virtual

Loads a new banner ad.

virtual void ludei::ads::AdBanner::setLayout ( AdBannerLayout  layout)
pure virtual

Sets the layout of the banner.

Parameters
layoutThe layout of the banner.
virtual void ludei::ads::AdBanner::setListener ( AdBannerListener listener)
pure virtual

Sets a new listener for the banner.

Parameters
listenerThe listener to be set.
virtual void ludei::ads::AdBanner::setPosition ( float  x,
float  y 
)
pure virtual

Sets the position of the banner given x and y coords. For custom layouts only.

Parameters
xThe x coord.
yThe y coord.
virtual void ludei::ads::AdBanner::show ( )
pure virtual

Shows the banner.


The documentation for this class was generated from the following file: