Difference between revisions of "Timer.new"

From GiderosMobile
Line 13: Line 13:
 
'''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''': (default = 0) <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/>
 
'''repeatCount''': (default = 0) <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}}

Revision as of 03:30, 4 December 2019


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: (default = 0) 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.