aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/fmradio/cancelseek/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/fmradio/cancelseek/index.html')
-rw-r--r--files/ja/web/api/fmradio/cancelseek/index.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/files/ja/web/api/fmradio/cancelseek/index.html b/files/ja/web/api/fmradio/cancelseek/index.html
new file mode 100644
index 0000000000..736c88f018
--- /dev/null
+++ b/files/ja/web/api/fmradio/cancelseek/index.html
@@ -0,0 +1,45 @@
+---
+title: FMRadio.cancelSeek
+slug: Web/API/FMRadio/cancelSeek
+tags:
+ - API
+ - B2G
+ - Firefox OS
+ - Method
+ - Non Standard
+ - Reference
+ - WebAPI
+ - WebFM
+translation_of: Archive/B2G_OS/API/FMRadio/cancelSeek
+---
+<p>{{ non-standard_header() }}</p>
+<p>{{ B2GOnlyHeader2('installed') }}</p>
+<h2 id="概要">概要</h2>
+<p><code>cancelSeek</code> メソッドは、ラジオチャンネルの周波数の探索を中止するために使用します。</p>
+<h2 id="構文">構文</h2>
+<pre>var request = <em>instanceOfFMRadio</em>.cancelSeek();</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">navigator.mozFMRadio.seekUp();
+
+window.onfrenquencychange = function () {
+ var request = navigator.mozFMRadio.cancelSeek();
+
+ request.onsuccess = function () {
+ console.log("Ok, let's stop seeking.");
+ }
+
+ request.onerror = function () {
+ console.log("Mmmh... ok, but there is actually nothing to cancel.");
+ }
+}
+</pre>
+<h2 id="Specification" name="Specification">仕様書</h2>
+<p>仕様はありません。</p>
+<h2 id="参照">参照</h2>
+<ul>
+ <li>{{domxref("FMRadio")}}</li>
+ <li>{{domxref("FMRadio.seekDown")}}</li>
+ <li>{{domxref("FMRadio.seekUp ")}}</li>
+</ul>