Difference between revisions of "Iad.Banner"

From GiderosMobile
 
Line 14: Line 14:
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Methods</translate> ===
 
=== <translate>Methods</translate> ===
[[Special:MyLanguage/iad.Banner.new|iad.Banner.new]] <br/><!-- GIDEROSMTD:iad.Banner.new -->
+
[[Special:MyLanguage/iad.Banner.new|iad.Banner.new]] <br/><!-- GIDEROSMTD:iad.Banner.new(alignment,orientation)  -->
[[Special:MyLanguage/iad.Banner:hide|iad.Banner:hide]] <br/><!-- GIDEROSMTD:iad.Banner:hide -->
+
[[Special:MyLanguage/iad.Banner:hide|iad.Banner:hide]] <br/><!-- GIDEROSMTD:iad.Banner:hide()  -->
[[Special:MyLanguage/iad.Banner:isBannerLoaded|iad.Banner:isBannerLoaded]] <br/><!-- GIDEROSMTD:iad.Banner:isBannerLoaded -->
+
[[Special:MyLanguage/iad.Banner:isBannerLoaded|iad.Banner:isBannerLoaded]] <br/><!-- GIDEROSMTD:iad.Banner:isBannerLoaded()  -->
[[Special:MyLanguage/iad.Banner:setAlignment|iad.Banner:setAlignment]] <br/><!-- GIDEROSMTD:iad.Banner:setAlignment -->
+
[[Special:MyLanguage/iad.Banner:setAlignment|iad.Banner:setAlignment]] <br/><!-- GIDEROSMTD:iad.Banner:setAlignment(alignment)  -->
[[Special:MyLanguage/iad.Banner:show|iad.Banner:show]] <br/><!-- GIDEROSMTD:iad.Banner:show -->
+
[[Special:MyLanguage/iad.Banner:show|iad.Banner:show]] <br/><!-- GIDEROSMTD:iad.Banner:show()  -->
 
| style="width: 50%; vertical-align:top;"|
 
| style="width: 50%; vertical-align:top;"|
 
=== <translate>Events</translate> ===
 
=== <translate>Events</translate> ===
[[Special:MyLanguage/Event.BANNER_ACTION_BEGIN|Event.BANNER_ACTION_BEGIN]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_BEGIN -->
+
[[Special:MyLanguage/Event.BANNER_ACTION_BEGIN|Event.BANNER_ACTION_BEGIN]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_BEGIN bannerActionBegin-->
[[Special:MyLanguage/Event.BANNER_ACTION_FINISHED|Event.BANNER_ACTION_FINISHED]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_FINISHED -->
+
[[Special:MyLanguage/Event.BANNER_ACTION_FINISHED|Event.BANNER_ACTION_FINISHED]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_FINISHED bannerActionFinished-->
[[Special:MyLanguage/Event.BANNER_AD_FAILED|Event.BANNER_AD_FAILED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_FAILED -->
+
[[Special:MyLanguage/Event.BANNER_AD_FAILED|Event.BANNER_AD_FAILED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_FAILED bannerAdFailed-->
[[Special:MyLanguage/Event.BANNER_AD_LOADED|Event.BANNER_AD_LOADED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_LOADED -->
+
[[Special:MyLanguage/Event.BANNER_AD_LOADED|Event.BANNER_AD_LOADED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_LOADED bannerAdLoaded-->
 
=== <translate>Constants</translate> ===
 
=== <translate>Constants</translate> ===
[[Special:MyLanguage/iad.Banner.BOTTOM|iad.Banner.BOTTOM]]<br/><!-- GIDEROSCST:iad.Banner.BOTTOM -->
+
[[Special:MyLanguage/iad.Banner.BOTTOM|iad.Banner.BOTTOM]]<br/><!-- GIDEROSCST:iad.Banner.BOTTOM bottom-->
[[Special:MyLanguage/iad.Banner.LANDSCAPE|iad.Banner.LANDSCAPE]]<br/><!-- GIDEROSCST:iad.Banner.LANDSCAPE -->
+
[[Special:MyLanguage/iad.Banner.LANDSCAPE|iad.Banner.LANDSCAPE]]<br/><!-- GIDEROSCST:iad.Banner.LANDSCAPE landscape-->
[[Special:MyLanguage/iad.Banner.PORTRAIT|iad.Banner.PORTRAIT]]<br/><!-- GIDEROSCST:iad.Banner.PORTRAIT -->
+
[[Special:MyLanguage/iad.Banner.PORTRAIT|iad.Banner.PORTRAIT]]<br/><!-- GIDEROSCST:iad.Banner.PORTRAIT portrait-->
[[Special:MyLanguage/iad.Banner.TOP|iad.Banner.TOP]]<br/><!-- GIDEROSCST:iad.Banner.TOP -->
+
[[Special:MyLanguage/iad.Banner.TOP|iad.Banner.TOP]]<br/><!-- GIDEROSCST:iad.Banner.TOP top-->
 
|}
 
|}

Latest revision as of 15:32, 13 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