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 milliseconds, of the interval

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com