Implemented by
An interface describing an object that can show various kinds of Update notification UI to the user.
[scriptable, uuid(6f145728-abc0-11dc-8314-0800200c9a66)]
interface nsIUpdatePrompt : nsISupports
Methods
Shows a user interface that checks for and then displays the available updates.
void
checkForUpdates()
Show a message advising that an update is available for download and
install.
@param update
The update to be downloaded and installed
void
showUpdateAvailable(in nsIUpdate update)
Show a message advising that an update has now been downloaded and that
the user should restart their software should be restarted so that the
update can be installed.
@param update
The update that was downloaded
@param background
Less obtrusive UI, starting with a non-modal notification alert
void
showUpdateDownloaded(in nsIUpdate update, [optional] in boolean background)
Shows an error message UI telling the user about some kind of update
failure, e.g. failure to apply patch.
@param update
The nsIUpdate object which we could not install
void
showUpdateError(in nsIUpdate update)
Shows a list of all updates installed to date.
@param parent
A parent window to anchor this window to. Can be null.
void
showUpdateHistory(in nsIDOMWindow parent)
Shows a message detailing the update which was installed.
@param update
The nsIUpdate object which was just installed
void
showUpdateInstalled(in nsIUpdate update)
Compare to: