Difference between revisions of "Iad.Banner"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2012.8<br/> === Description === <br /> The `iad.Banner` class provides a view that displays banner ad...")
 
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
<languages />
'''Available since:''' Gideros 2012.8<br/>
+
<!-- GIDEROSOBJ:iad.Banner -->
=== Description ===
+
'''<translate>Supported platforms</translate>:''' [[File:Platform ios.png]]<br/>
<br />
+
'''<translate>Available since</translate>:''' Gideros 2012.8<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 />
+
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/EventDispatcher|EventDispatcher]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate><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 />
<br />
+
<br /></translate>
 
{|-
 
{|-
| style="width: 50%;"|
+
| style="width: 50%; vertical-align:top;"|
=== Methods ===
+
=== <translate>Methods</translate> ===
| style="width: 50%;"|
+
[[Special:MyLanguage/iad.Banner.new|iad.Banner.new]] <br/><!-- GIDEROSMTD:iad.Banner.new(alignment,orientation)  -->
=== Events ===
+
[[Special:MyLanguage/iad.Banner:hide|iad.Banner:hide]] <br/><!-- GIDEROSMTD:iad.Banner:hide()  -->
=== Constants ===
+
[[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(alignment)  -->
 +
[[Special:MyLanguage/iad.Banner:show|iad.Banner:show]] <br/><!-- GIDEROSMTD:iad.Banner:show()  -->
 +
| style="width: 50%; vertical-align:top;"|
 +
=== <translate>Events</translate> ===
 +
[[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 bannerActionFinished-->
 +
[[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 bannerAdLoaded-->
 +
=== <translate>Constants</translate> ===
 +
[[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 landscape-->
 +
[[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 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