Difference between revisions of "Event.AD ACTION BEGIN"

From GiderosMobile
Line 12: Line 12:
 
=== Example ===
 
=== Example ===
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
self.ADMOB:addEventListener(Event.AD_ACTION_BEGIN, function(e)
+
admob:addEventListener(Event.AD_ACTION_BEGIN, function(e)
 
print("AD_ACTION_BEGIN")
 
print("AD_ACTION_BEGIN")
 
print(e.type) -- string
 
print(e.type) -- string

Revision as of 20:52, 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

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