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.
nsIUpdateChecker
| IID: | 877ace25-8bc5-452a-8586-9c1cf2871994 |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
Methods
void checkForUpdates ( nsIUpdateCheckListener listener , PRBool force )
void stopChecking ( PRUint16 duration )
void checkForUpdates ( nsIUpdateCheckListener listener , PRBool force )
Checks for available updates, notifying a listener of the results.
- Arguments:
- listener: An object implementing nsIUpdateCheckListener which is notified of the results of an update check.
- force: Forces the checker to check for updates, regardless of the current value of the user's update settings. This is used by any piece of UI that offers the user the imperative option to check for updates now, regardless of their update settings. force will not work if the system administrator has locked the app.update.enabled preference.
void stopChecking ( PRUint16 duration )
Ends any pending update check.
- Arguments:
- duration: A value representing the set of checks to stop doing.
References
This interface is the type of the following properties:
nsIApplicationUpdateService.backgroundChecker
Reference documentation is generated from Mozilla's source.
