Implemented by
[scriptable, uuid(7f952767-427f-402b-8114-f80c95d1980d)]
interface nsIUpdateItem : nsISupports
Constants
const
unsigned long
TYPE_APP = 1
const
unsigned long
TYPE_EXTENSION = 2
const
unsigned long
TYPE_THEME = 4
const
unsigned long
TYPE_LOCALE = 8
const
unsigned long
TYPE_PLUGIN = 16
const
unsigned long
TYPE_MULTI_XPI = 32
const
unsigned long
TYPE_ADDON = 30
const
unsigned long
TYPE_ANY = 31
Attributes
The URL of the icon that can be shown for this item.
readonly attribute
AString
iconURL
An item managed by the Extension System. Contains metadata that describes
the item.
XXXben work in progress, the name of this interface will change after the
update system is complete, probably to nsIAddon
The GUID of the item.
readonly attribute
AString
id
The name of the Install Location where this item is installed.
readonly attribute
AString
installLocationKey
The maximum version of the application that this item works with, in FVF format.
readonly attribute
AString
maxAppVersion
The minimum version of the application that this item works with, in FVF format.
readonly attribute
AString
minAppVersion
The name of this item.
readonly attribute
AString
name
Returns a JS Object source representing an nsIUpdateItem.
readonly attribute
AString
objectSource
The type of this item.
readonly attribute
long
type
The URL of the update RDF file for this item.
readonly attribute
AString
updateRDF
The Version of the item, in FVF format.
readonly attribute
AString
version
The string Hash for the XPI file. Can be null and if supplied must be in the format of "type:hash" (see the types in nsICryptoHash and nsIXPInstallManager::initManagerWithHashes).
readonly attribute
AString
xpiHash
The URL of the XPI where this item can be downloaded.
readonly attribute
AString
xpiURL
Methods
Initializes this Item object.
void
init(in AString id, in AString version, in AString installLocationKey, in AString minAppVersion, in AString maxAppVersion, in AString name, in AString downloadURL, in AString xpiHash, in AString iconURL, in AString updateURL, in long type)
Compare to: