Difference between revisions of "Event.AD ACTION BEGIN"

From GiderosMobile
Line 5: Line 5:
  
 
=== Description ===
 
=== Description ===
Some action like user clicked begin on the ad.
+
Some action like user clicked on the ad.
 +
 
 +
=== Events ===
 +
'''type''': (string) the ad type<br/>
 +
 
 +
=== Example ===
 +
<syntaxhighlight lang="lua">
 +
self.ADMOB:addEventListener(Event.AD_ACTION_BEGIN, function(e)
 +
print("AD_ACTION_BEGIN")
 +
print(e.type) -- string
 +
end)
 +
</syntaxhighlight>
  
 
{{Ads}}
 
{{Ads}}

Revision as of 20:46, 15 February 2025

Available since: Gideros 2014.01
Value: adActionBegin
Defined by: Ads

Description

Some action like user clicked on the ad.

Events

type: (string) the ad type

Example

self.ADMOB:addEventListener(Event.AD_ACTION_BEGIN, function(e)
	print("AD_ACTION_BEGIN")
	print(e.type) -- string
end)