Difference between revisions of "Flurry.endTimedEvent"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
m (Text replacement - "</source>" to "</syntaxhighlight>")
Line 10: Line 10:
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
  flurry.endTimedEvent(eventName,parameters)
 
  flurry.endTimedEvent(eventName,parameters)
</source>
+
</syntaxhighlight>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''eventName''': (string) <translate>The event name of end timed event.</translate> <br/>
 
'''eventName''': (string) <translate>The event name of end timed event.</translate> <br/>

Revision as of 14:29, 13 July 2023


Available since: Gideros 2011.6
Class: flurry

Description


Use this function to end timed event before app exists, otherwise timed events automatically end when app exists. When ending the timed event,
a new event parameters table can be used to update event parameters. If you don't specify a new event parameters table, event parameters are kept the same.

 flurry.endTimedEvent(eventName,parameters)

Parameters

eventName: (string) The event name of end timed event.
parameters: (table, optional) If specified, event paramaters updated for this event.