nsIWebappsSupport

Please add a summary to this article.
1.0
28
Introduced
Gecko 2.0
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Method overview

void installApplication(in wstring title, in wstring uri, in wstring iconUri, in wstring iconData);
boolean isApplicationInstalled(in wstring uri);

Methods

installApplication()

This method installs a web application.

void installApplication(
  in wstring title,
  in wstring uri,
  in wstring iconUri,
  in wstring iconData
);
Parameters
title
The user-friendly name of the application.
uri
The uri of the web application.
iconUri
The uri of icon of the web application.
iconData
A base64 encoded representation of the application's icon.

isApplicationInstalled()

Checks is a web application is already installed.

boolean isApplicationInstalled(
  in wstring uri
);
Parameters
uri
The uri of the web application.
Return value

true if the web application is installed, false if it's not installed.

Document Tags and Contributors

 Contributors to this page: Sheppy, trevorh
 Last updated by: Sheppy,