Difference between revisions of "Iad.Banner:setAlignment"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 9: Line 9:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
  iad.Banner:setAlignment(alignment)
 
  iad.Banner:setAlignment(alignment)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''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/>
 
'''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/>

Latest revision as of 14:29, 13 July 2023


Available since: Gideros 2012.8
Class: iad.Banner

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.