Implemented by
An interface describing an object that can show various kinds of Update notification UI to the user.
[scriptable, uuid(599fd3c6-ec68-4499-ada5-2997739c97a6)]
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
a restart is necessary to complete the update.
@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 that an update was installed successfully.
void
showUpdateInstalled()
Compare to: