Difference between revisions of "Iad.Banner:setAlignment"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2012.8<br/>
 
'''Available since:''' Gideros 2012.8<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets the alignment of the banner as the top or bottom.<br />
 
Sets the alignment of the banner as the top or bottom.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  iad.Banner:setAlignment(alignment)
 
  iad.Banner:setAlignment(alignment)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''alignment''': (string) whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM. <br/>
+
'''alignment''': (string) <translate>whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.</translate> <br/>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2012.8

Description


Sets the alignment of the banner as the top or bottom.

 iad.Banner:setAlignment(alignment)

Parameters

alignment: (string) whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.