HISE Docs

Timer


Class methods

getMilliSecondsSinceCounterReset

Returns the duration from the last counter reset.

Timer.getMilliSecondsSinceCounterReset()



isTimerRunning

Checks if the timer is active.

Timer.isTimerRunning()



resetCounter

Resets the internal counter.

Timer.resetCounter()



setTimerCallback

Sets the function that will be called periodically.

Timer.setTimerCallback(var callbackFunction)



startTimer

Starts the timer.

Timer.startTimer(int intervalInMilliSeconds)



stopTimer

Stops the timer.

Timer.stopTimer()