Difference between revisions of "Flurry.endTimedEvent"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[flurry]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | 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 | ||
− | |||
− | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | + | flurry.endTimedEvent(eventName,parameters) | |
</syntaxhighlight> | </syntaxhighlight> | ||
− | === | + | |
− | '''eventName''': (string) | + | 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''': (table, optional) | + | |
+ | === Parameters === | ||
+ | '''eventName''': (string) the event name of end timed event<br/> | ||
+ | '''parameters''': (table, optional) if specified, event paramaters updated for this event<br/> | ||
{{Flurry}} | {{Flurry}} |
Revision as of 20:43, 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