Difference between revisions of "Iad.Banner"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
<!-- GIDEROSOBJ:iad.Banner -->
 
<!-- GIDEROSOBJ:iad.Banner -->
 
'''<translate>Supported platforms</translate>:''' [[File:Platform ios.png]]<br/>
 
'''<translate>Supported platforms</translate>:''' [[File:Platform ios.png]]<br/>

Revision as of 09:59, 3 September 2018


Supported platforms: Platform ios.png
Available since: Gideros 2012.8
Inherits from: EventDispatcher

Description


The iad.Banner class provides a view that displays banner advertisements to the user. When the user taps a banner view, the view triggers an action
programmed into the advertisement. For example, an advertisement might show a movie, present a modal advertisement, or launch Safari to show a webpage.
Your application is notified when an action starts and stops, but does not otherwise interact with the advertisement.

Methods

iad.Banner.new
iad.Banner:hide
iad.Banner:isBannerLoaded
iad.Banner:setAlignment
iad.Banner:show

Events

Event.BANNER_ACTION_BEGIN
Event.BANNER_ACTION_FINISHED
Event.BANNER_AD_FAILED
Event.BANNER_AD_LOADED

Constants

iad.Banner.BOTTOM
iad.Banner.LANDSCAPE
iad.Banner.PORTRAIT
iad.Banner.TOP