Contents Up Previous Next

Timer

A timer object can be created to notify the application at regular intervals.

timer-create
timer-delete
timer-start
timer-stop


timer-create

long ( timer-create)

Creates a timer object. Use timer-start to start the timer, and register a Notify callback function to receive notification.


timer-delete

long ( timer-delete long id)

Stops and deletes the timer object.


timer-start

long ( timer-start long id long milliseconds)

Starts the timer, notifying at intervals of duration milliseconds.


timer-stop

long ( timer-stop long id)

Stops the timer.