Back to index
An interface describing a global application service that allows long duration (e.g. More...
|void||registerTimer (in AString id, in nsITimerCallback callback, in unsigned long interval)|
|Register an interval with the timer manager. |
An interface describing a global application service that allows long duration (e.g.
1-7 or more days, weeks or months) timers to be registered and then fired.
|void nsIUpdateTimerManager::registerTimer||(||in AString||id,|
|in unsigned long||interval|
Register an interval with the timer manager.
The timer manager periodically checks to see if the interval has expired and if it has calls the specified callback. This is persistent across application restarts and can handle intervals of long durations.