diff options
Diffstat (limited to 'files/ja/web/api/fmradio/disable/index.html')
-rw-r--r-- | files/ja/web/api/fmradio/disable/index.html | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/files/ja/web/api/fmradio/disable/index.html b/files/ja/web/api/fmradio/disable/index.html deleted file mode 100644 index 0ea44dca1b..0000000000 --- a/files/ja/web/api/fmradio/disable/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: FMRadio.disable -slug: Web/API/FMRadio/disable -tags: - - API - - B2G - - Firefox OS - - Method - - Non Standard - - Reference - - WebAPI - - WebFM -translation_of: Archive/B2G_OS/API/FMRadio/disable ---- -<p>{{ non-standard_header() }}</p> -<p>{{ B2GOnlyHeader2('installed') }}</p> -<h2 id="概要">概要</h2> -<p><code>disable</code> メソッドは、ラジオを OFF にするために使用します。</p> -<p>このメソッドの呼び出しが成功した時に、毎回 {{event("disabled")}} イベントが発生します。</p> -<h2 id="構文">構文</h2> -<pre>var request = <em>instanceOfFMRadio</em>.disable();</pre> -<h3 id="戻り値">戻り値</h3> -<p>命令の成功またはエラーを扱う <a href="/docs/Web/API/DOMRequest" title="/docs/Web/API/DOMRequest"><code>DOMRequest</code></a> を返します。</p> -<h2 id="例">例</h2> -<pre class="brush: js">var request = navigator.mozFMRadio.disable(100.0); - -request.onsuccess = function () { - console.log("The radio is turned off"); -} - -request.onerror = function () { - console.log("Something goes wrong!"); -} -</pre> -<h2 id="Specification" name="Specification">仕様書</h2> -<p>仕様はありません。</p> -<h2 id="参照">参照</h2> -<ul> - <li>{{domxref("FMRadio")}}</li> - <li>{{domxref("FMRadio.enabled")}}</li> -</ul> |