public static Timer setInterval ( int milliseconds , TimerCallback callback ) { IntervalTimer interval = new IntervalTimer ( ) ; interval . setId ( nativeSetInterval ( milliseconds , callback , interval ) ) ; return interval ; }
Defines a repeating timer with a specified interval .