Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIUpdateManager

This interface describes a global application service that maintains a list of previously installed updates, as well as the currently in use update.
1.0
28
Introduced
Gecko 1.8
Inherits from: nsISupports Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)

Method overview

nsIUpdate getUpdateAt(in long index);
void saveUpdates();

Attributes

Attribute Type Description
activeUpdate nsIUpdate An nsIUpdate object describing the currently in use update. This update is not in the history list. Read only.
updateCount long The number of updates in the history list; the updates can be fetched by calling getUpdateAt(). Read only.

Methods

getUpdateAt()

Returns the update at the specified index into the history list.

nsIUpdate getUpdateAt(
  in long index
);
Parameters
index
An index into the history list for the nsIUpdate to retrieve.
Return value

The nsIUpdate at the specified index into the history list.

saveUpdates()

Saves all updates to disk.

void saveUpdates();
Parameters

None.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,