nsIUpdateItem
| IID: | f559f340-5160-420f-abc8-19b251708e7e |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Constants
| PRUint32 | TYPE_APP | = 1 |
| PRUint32 | TYPE_EXTENSION | = 2 |
| PRUint32 | TYPE_THEME | = 4 |
| PRUint32 | TYPE_LOCALE | = 8 |
| PRUint32 | TYPE_MULTI_XPI | = 32 |
| PRUint32 | TYPE_ADDON | = 14 |
| PRUint32 | TYPE_ANY | = 15 |
Properties
readonly AString iconURL
The URL of the icon that can be shown for this item.
readonly AString id
The GUID of the item.
readonly AString installLocationKey
The name of the Install Location where this item is installed.
readonly AString maxAppVersion
The maximum version of the application that this item works with, in FVF format.
readonly AString minAppVersion
The minimum version of the application that this item works with, in FVF format.
readonly AString name
The name of this item.
readonly AString objectSource
Returns a JS Object source representing an nsIUpdateItem.
readonly AString targetAppID
The target application ID used for checking compatibility for this item.
readonly PRInt32 type
The type of this item.
readonly AString updateKey
The public key to verify updates for this item. This must be the public part of the key that was used to sign update manifests for this add-on.
readonly AString updateRDF
The URL of the update RDF file for this item.
readonly AString version
The Version of the item, in FVF format.
readonly AString xpiHash
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 AString xpiURL
The URL of the XPI where this item can be downloaded.
Methods
void init ( AString id , AString version , AString installLocationKey , AString minAppVersion , AString maxAppVersion , AString name , AString downloadURL , AString xpiHash , AString iconURL , AString updateURL , AString updateKey , PRInt32 type , AString targetAppID )
void init ( AString id , AString version , AString installLocationKey , AString minAppVersion , AString maxAppVersion , AString name , AString downloadURL , AString xpiHash , AString iconURL , AString updateURL , AString updateKey , PRInt32 type , AString targetAppID )
Initializes this Item object.
- Arguments:
- id
- version
- installLocationKey
- minAppVersion
- maxAppVersion
- name
- downloadURL
- xpiHash
- iconURL
- updateURL
- updateKey
- type
- targetAppID
References
This interface is passed as an argument to the following methods:
nsIAddonUpdateCheckListener.onAddonUpdateEnded, nsIAddonUpdateCheckListener.onAddonUpdateStarted, nsIAddonUpdateListener.onProgress, nsIAddonUpdateListener.onStateChange
This interface is returned from the following methods:
nsIExtensionManager.getItemForID
Reference documentation is generated from Mozilla's source.
