Difference between revisions of "Timer.new"
From GiderosMobile
| m (→Parameters) | |||
| Line 12: | Line 12: | ||
| === <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
| '''delay''': (any) <translate>The time interval between timer events in milliseconds.</translate> <br/> | '''delay''': (any) <translate>The time interval between timer events in milliseconds.</translate> <br/> | ||
| − | '''repeatCount''':  | + | '''repeatCount''': <translate>The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops.</translate> <br/> | 
| {{Timer}} | {{Timer}} | ||
Revision as of 20:51, 31 December 2020
Available since: Gideros 2011.6
Class: Timer
Description
Creates a new Timer object with the specified delay and repeatCount states.
 Timer.new(delay,repeatCount)
Parameters
delay: (any) The time interval between timer events in milliseconds. 
repeatCount: The number of repetitions. A value of 0 runs the timer infinitely. If nonzero, the timer runs the specified number of times and then stops. 
