Difference between revisions of "Iad.Banner"
From GiderosMobile
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Supported platforms:''' ios<br/> | + | <languages /> |
− | '''Available since:''' Gideros 2012.8<br/> | + | <!-- GIDEROSOBJ:iad.Banner --> |
− | === Description === | + | '''<translate>Supported platforms</translate>:''' [[File:Platform ios.png]]<br/> |
+ | '''<translate>Available since</translate>:''' Gideros 2012.8<br/> | ||
+ | '''<translate>Inherits from</translate>:''' [[Special:MyLanguage/EventDispatcher|EventDispatcher]]<br/> | ||
+ | === <translate>Description</translate> === | ||
<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 /> | ||
<br /></translate> | <br /></translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
− | === Methods === | + | === <translate>Methods</translate> === |
− | [[iad.Banner.new]] | + | [[Special:MyLanguage/iad.Banner.new|iad.Banner.new]] <br/><!-- GIDEROSMTD:iad.Banner.new(alignment,orientation) --> |
− | [[iad.Banner:hide]] | + | [[Special:MyLanguage/iad.Banner:hide|iad.Banner:hide]] <br/><!-- GIDEROSMTD:iad.Banner:hide() --> |
− | [[iad.Banner:isBannerLoaded]] | + | [[Special:MyLanguage/iad.Banner:isBannerLoaded|iad.Banner:isBannerLoaded]] <br/><!-- GIDEROSMTD:iad.Banner:isBannerLoaded() --> |
− | [[iad.Banner:setAlignment]] | + | [[Special:MyLanguage/iad.Banner:setAlignment|iad.Banner:setAlignment]] <br/><!-- GIDEROSMTD:iad.Banner:setAlignment(alignment) --> |
− | [[iad.Banner:show]] | + | [[Special:MyLanguage/iad.Banner:show|iad.Banner:show]] <br/><!-- GIDEROSMTD:iad.Banner:show() --> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
− | === Events === | + | === <translate>Events</translate> === |
− | [[Event.BANNER_ACTION_BEGIN]]<br/> | + | [[Special:MyLanguage/Event.BANNER_ACTION_BEGIN|Event.BANNER_ACTION_BEGIN]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_BEGIN bannerActionBegin--> |
− | [[Event.BANNER_ACTION_FINISHED]]<br/> | + | [[Special:MyLanguage/Event.BANNER_ACTION_FINISHED|Event.BANNER_ACTION_FINISHED]]<br/><!-- GIDEROSEVT:Event.BANNER_ACTION_FINISHED bannerActionFinished--> |
− | [[Event.BANNER_AD_FAILED]]<br/> | + | [[Special:MyLanguage/Event.BANNER_AD_FAILED|Event.BANNER_AD_FAILED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_FAILED bannerAdFailed--> |
− | [[Event.BANNER_AD_LOADED]]<br/> | + | [[Special:MyLanguage/Event.BANNER_AD_LOADED|Event.BANNER_AD_LOADED]]<br/><!-- GIDEROSEVT:Event.BANNER_AD_LOADED bannerAdLoaded--> |
− | === Constants === | + | === <translate>Constants</translate> === |
− | [[iad.Banner.BOTTOM]]<br/> | + | [[Special:MyLanguage/iad.Banner.BOTTOM|iad.Banner.BOTTOM]]<br/><!-- GIDEROSCST:iad.Banner.BOTTOM bottom--> |
− | [[iad.Banner.LANDSCAPE]]<br/> | + | [[Special:MyLanguage/iad.Banner.LANDSCAPE|iad.Banner.LANDSCAPE]]<br/><!-- GIDEROSCST:iad.Banner.LANDSCAPE landscape--> |
− | [[iad.Banner.PORTRAIT]]<br/> | + | [[Special:MyLanguage/iad.Banner.PORTRAIT|iad.Banner.PORTRAIT]]<br/><!-- GIDEROSCST:iad.Banner.PORTRAIT portrait--> |
− | [[iad.Banner.TOP]]<br/> | + | [[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:
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.