Difference between revisions of "Iad.Banner"

From GiderosMobile
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
<translate><br />
 
<translate><br />
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 <br />
+
The [[Special:MyLanguage/iad.Banner|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 <br />
 
programmed into the advertisement. For example, an advertisement might show a movie, present a modal advertisement, or launch Safari to show a webpage.<br />
 
programmed into the advertisement. For example, an advertisement might show a movie, present a modal advertisement, or launch Safari to show a webpage.<br />
 
Your application is notified when an action starts and stops, but does not otherwise interact with the advertisement. <br />
 
Your application is notified when an action starts and stops, but does not otherwise interact with the advertisement. <br />
Line 11: Line 11:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== Methods ===
 
=== Methods ===
[[iad.Banner.new]] <br/>
+
[[Special:MyLanguage/iad.Banner.new|iad.Banner.new]] <br/>
[[iad.Banner:hide]] <br/>
+
[[Special:MyLanguage/iad.Banner:hide|iad.Banner:hide]] <br/>
[[iad.Banner:isBannerLoaded]] <br/>
+
[[Special:MyLanguage/iad.Banner:isBannerLoaded|iad.Banner:isBannerLoaded]] <br/>
[[iad.Banner:setAlignment]] <br/>
+
[[Special:MyLanguage/iad.Banner:setAlignment|iad.Banner:setAlignment]] <br/>
[[iad.Banner:show]] <br/>
+
[[Special:MyLanguage/iad.Banner:show|iad.Banner:show]] <br/>
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== Events ===
 
=== Events ===
[[Event.BANNER_ACTION_BEGIN]]<br/>
+
[[Special:MyLanguage/Event.BANNER_ACTION_BEGIN|Event.BANNER_ACTION_BEGIN]]<br/>
[[Event.BANNER_ACTION_FINISHED]]<br/>
+
[[Special:MyLanguage/Event.BANNER_ACTION_FINISHED|Event.BANNER_ACTION_FINISHED]]<br/>
[[Event.BANNER_AD_FAILED]]<br/>
+
[[Special:MyLanguage/Event.BANNER_AD_FAILED|Event.BANNER_AD_FAILED]]<br/>
[[Event.BANNER_AD_LOADED]]<br/>
+
[[Special:MyLanguage/Event.BANNER_AD_LOADED|Event.BANNER_AD_LOADED]]<br/>
 
=== Constants ===
 
=== Constants ===
[[iad.Banner.BOTTOM]]<br/>
+
[[Special:MyLanguage/iad.Banner.BOTTOM|iad.Banner.BOTTOM]]<br/>
[[iad.Banner.LANDSCAPE]]<br/>
+
[[Special:MyLanguage/iad.Banner.LANDSCAPE|iad.Banner.LANDSCAPE]]<br/>
[[iad.Banner.PORTRAIT]]<br/>
+
[[Special:MyLanguage/iad.Banner.PORTRAIT|iad.Banner.PORTRAIT]]<br/>
[[iad.Banner.TOP]]<br/>
+
[[Special:MyLanguage/iad.Banner.TOP|iad.Banner.TOP]]<br/>
 
|}
 
|}

Revision as of 16:35, 23 August 2018

Supported platforms: ios
Available since: Gideros 2012.8

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