WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIUpdateTimerManager

IID:0765c92c-6145-4253-9db4-594d8023087e
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

void registerTimer ( AString id , nsITimerCallback callback , PRUint32 interval )

void registerTimer ( AString id , nsITimerCallback callback , PRUint32 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.

Arguments:
id: An id that identifies the interval, used for persistence
callback: A nsITimerCallback object that is notified when the interval expires
interval: The length of time, in seconds, of the interval

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com