Difference between revisions of "Flurry.endTimedEvent"

From GiderosMobile
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Flurry]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/flurry|flurry]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Use this function to end timed event before app exits, otherwise timed events automatically end when app exits.
Use this function to end timed event before app exists, otherwise timed events automatically end when app exists. When ending the timed event, <br />
+
<syntaxhighlight lang="lua">
a new event parameters table can be used to update event parameters. If you don&#039;t specify a new event parameters table, event parameters are kept the same.<br />
+
flurry.endTimedEvent(eventName,parameters)
<br /></translate>
+
</syntaxhighlight>
<source lang="lua">
+
 
flurry.endTimedEvent(eventName,parameters)
+
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.
</source>
+
 
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''eventName''': (string) <translate>The event name of end timed event.</translate> <br/>
+
'''eventName''': (string) the event name of end timed event<br/>
'''parameters''': (table, optional) <translate>If specified, event paramaters updated for this event.</translate> <br/>
+
'''parameters''': (table, optional) if specified, event paramaters updated for this event<br/>
  
 
{{Flurry}}
 
{{Flurry}}

Latest revision as of 22:26, 7 December 2023

Available since: Gideros 2011.6
Class: Flurry

Description

Use this function to end timed event before app exits, otherwise timed events automatically end when app exits.

flurry.endTimedEvent(eventName,parameters)

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.

Parameters

eventName: (string) the event name of end timed event
parameters: (table, optional) if specified, event paramaters updated for this event