aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/domapplicationsmanager
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/domapplicationsmanager
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/domapplicationsmanager')
-rw-r--r--files/ja/web/api/domapplicationsmanager/getall/index.html38
-rw-r--r--files/ja/web/api/domapplicationsmanager/index.html82
2 files changed, 120 insertions, 0 deletions
diff --git a/files/ja/web/api/domapplicationsmanager/getall/index.html b/files/ja/web/api/domapplicationsmanager/getall/index.html
new file mode 100644
index 0000000000..3c01a9c81a
--- /dev/null
+++ b/files/ja/web/api/domapplicationsmanager/getall/index.html
@@ -0,0 +1,38 @@
+---
+title: Apps.mgmt.getAll
+slug: Web/API/DOMApplicationsManager/getAll
+tags:
+ - API
+ - Apps
+ - Apps API
+ - Firefox OS
+ - Method
+translation_of: Archive/Marketplace/API/DOMApplicationsManager/getAll
+---
+<p>{{ ApiRef() }}</p>
+<p>{{ non-standard_header() }}</p>
+<h2 id="Summary" name="Summary">概要</h2>
+<p>ユーザのレポジトリにインストールされているアプリ一覧を取得します。</p>
+<h2 id="Syntax" name="Syntax">構文</h2>
+<pre>window.navigator.mozApps.mgmt.getAll()
+</pre>
+<h2 id="Parameters" name="Parameters">引数</h2>
+<p>ありません。</p>
+<h2 id="Returns" name="Returns">戻り値</h2>
+<p><code>getAll()</code> は <code>pendingGetAll</code> オブジェクトを返します。呼び出し元は戻り値オブジェクトの <code>onsuccess</code> と <code>onerror</code> コールバックプロパティを設定することが期待されます。</p>
+<p><code>pendingGetAll.result</code> は、現在のブラウザにインストールされているすべてのアプリを含んだ <code>App</code> オブジェクトの配列となります。何もアプリがインストールされていない場合、<code>pendingGetAll.result</code> は空の配列となります。アプリの取得時に深刻な問題が発生した場合、<code>onerror</code> が呼び出されます。</p>
+<p>これは特権付き呼び出しです。アプリを取得する特権がない場合、<code>navigator.mozApps.mgmt</code> は <code>null</code> となります。</p>
+<h2 id="Errors" name="Errors">エラー</h2>
+<p>以下のエラーが <code>DOMRequest.error</code> で返される可能性があります。</p>
+<dl>
+</dl>
+<dl>
+ <dt>
+ DENIED</dt>
+ <dd>
+ 権限なし。</dd>
+</dl>
+<h2 id="Related_topics" name="Related_topics">関連記事</h2>
+<ul>
+ <li><a href="/ja/docs/Web/Apps/JavaScript_API">Apps JavaScript API</a></li>
+</ul>
diff --git a/files/ja/web/api/domapplicationsmanager/index.html b/files/ja/web/api/domapplicationsmanager/index.html
new file mode 100644
index 0000000000..d30d16fa32
--- /dev/null
+++ b/files/ja/web/api/domapplicationsmanager/index.html
@@ -0,0 +1,82 @@
+---
+title: DOMApplicationsManager
+slug: Web/API/DOMApplicationsManager
+tags:
+ - API
+translation_of: Archive/Marketplace/API/DOMApplicationsManager
+---
+<p>{{ ApiRef("Apps") }}</p>
+
+<p>{{ non-standard_header() }}</p>
+
+<p>Provides support for managing, and Open Web apps in a browser. A manager can be accessed via {{domxref("DOMApplicationsRegistry.mgmt", "Navigator.mozApps.mgmt")}}</p>
+
+<h2 id="Property">Property</h2>
+
+<dl>
+ <dt>{{domxref("DOMApplicationsManager.oninstall")}}</dt>
+ <dd>Is an {{domxref("EventManager")}} call when <code>install</code> event is received.</dd>
+ <dt>{{domxref("DOMApplicationsManager.onuninstall")}}</dt>
+ <dd>Is an {{domxref("EventManager")}} call when <code>uninstall</code> event is received.</dd>
+ <dt>{{domxref("DOMApplicationsManager.onenablestatechange")}}</dt>
+ <dd>Is an {{domxref("EventManager")}} call when <code>enablestatechange</code> event is received.</dd>
+</dl>
+
+<h2 id="Methods">Methods</h2>
+
+<dl>
+ <dt>{{ domxref("DOMApplicationsManager.getAll()") }}</dt>
+ <dd>Returns all applications.</dd>
+</dl>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>16.0</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>16.0</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p> </p>