nsIWebappsSupport 编辑
toolkit/components/webapps/nsIWebappsSupport.idl
Scriptable Please add a summary to this article. 1.0 66 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论