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.
@mozilla.org/updates/update-service;1
This component implements the following interfaces:
Properties
readonly nsIUpdateChecker nsIApplicationUpdateService.backgroundChecker
The Update Checker used for background update checking.
readonly PRBool nsIApplicationUpdateService.canUpdate
Whether or not the Update Service can download and install updates. This is a function of whether or not the current user has access privileges to the install directory.
readonly PRBool nsIApplicationUpdateService.isDownloading
Whether or not there is an download happening at the moment.
Methods
| Interface | Method |
|---|---|
| nsIApplicationUpdateService |
void addDownloadListener ( nsIRequestObserver listener )
|
| nsIApplicationUpdateService |
AString downloadUpdate ( nsIUpdate update , PRBool background )
|
| nsITimerCallback |
void notify ( nsITimer timer )
|
| nsIObserver |
void observe ( nsISupports subject , char* topic , PRUnichar* data )
|
| nsIApplicationUpdateService |
void pauseDownload ( )
|
| nsIApplicationUpdateService |
void removeDownloadListener ( nsIRequestObserver listener )
|
| nsIApplicationUpdateService |
nsIUpdate selectUpdate ( nsIUpdate updates , PRUint32 updateCount )
|
Reference documentation is generated from Mozilla's source.
