Public Member Functions

amIInstallCallback Interface Reference

A callback function that webpages can implement to be notified when triggered installs complete. More...

import "amIInstallTrigger.idl";

List of all members.

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD OnInstallEnded (const nsAString &aUrl, PRInt32 aStatus)=0
 Called when an install completes or fails.
void onInstallEnded (in AString aUrl, in PRInt32 aStatus)
 Called when an install completes or fails.

Detailed Description

A callback function that webpages can implement to be notified when triggered installs complete.


Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD amIInstallCallback::OnInstallEnded ( const nsAString aUrl,
PRInt32  aStatus 
) [pure virtual]

Called when an install completes or fails.

Parameters:
aUrl The url of the add-on being installed
aStatus 0 if the install was successful or negative if not
void amIInstallCallback::onInstallEnded ( in AString  aUrl,
in PRInt32  aStatus 
)

Called when an install completes or fails.

Parameters:
aUrl The url of the add-on being installed
aStatus 0 if the install was successful or negative if not

The documentation for this interface was generated from the following files: