diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/bluetooth | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/api/bluetooth')
-rw-r--r-- | files/ja/web/api/bluetooth/index.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/files/ja/web/api/bluetooth/index.html b/files/ja/web/api/bluetooth/index.html new file mode 100644 index 0000000000..375256f000 --- /dev/null +++ b/files/ja/web/api/bluetooth/index.html @@ -0,0 +1,115 @@ +--- +title: Bluetooth +slug: Web/API/Bluetooth +tags: + - API + - Buetooth + - Interface + - Non-standard + - Reference + - Web Buletooth API +translation_of: Web/API/Bluetooth +--- +<p>{{ apiref("W3C Bluetooth API") }} {{Non-standard_header()}}</p> + +<p><a href="/ja/Web/API/Web_Bluetooth_API">Web Bluetooth API</a> の <strong><code>Bluetooth</code></strong> インターフェースは、オプション指定した {{domxref("BluetoothDevice")}} の {{jsxref("Promise")}} を返します。</p> + +<h2 id="インターフェース">インターフェース</h2> + +<pre class="syntaxbox">interface <dfn>Bluetooth</dfn> { + Promise<BluetoothDevice> requestDevice(RequestDeviceOptions <dfn>options</dfn>); +}; +Bluetooth implements EventTarget; +Bluetooth implements BluetoothDeviceEventHandlers; +Bluetooth implements CharacteristicEventHandlers; +Bluetooth implements ServiceEventHandlers;</pre> + +<h2 id="プロパティ">プロパティ</h2> + +<dl> + <dt>なし</dt> +</dl> + +<h2 id="メソッド">メソッド</h2> + +<dl> + <dt>{{domxref("Bluetooth.requestDevice()")}}</dt> + <dd>オプション指定した {{domxref("BluetoothDevice")}} の {{jsxref("Promise")}} を返す。</dd> +</dl> + +<h2 id="仕様">仕様</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">仕様</th> + <th scope="col">ステータス</th> + <th scope="col">コメント</th> + </tr> + <tr> + <td>{{SpecName('Web Bluetooth', '#bluetooth', 'Bluetooth')}}</td> + <td>{{Spec2('Web Bluetooth')}}</td> + <td>初期定義。</td> + </tr> + </tbody> +</table> + +<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2> + +<div>{{CompatibilityTable}}</div> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>機能</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>基本サポート</td> + <td>{{CompatChrome (45.0)}} [1]</td> + <td>{{CompatUnknown}}</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>機能</th> + <th>Android</th> + <th>Android Webview</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS</th> + <th>IE Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>基本サポート</td> + <td>{{CompatNo}}</td> + <td>{{CompatNo}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatChrome (48.0)}} [2]</td> + </tr> + </tbody> +</table> +</div> + +<p>[1] フラグが必要です。Chrome OS のみです。</p> + +<p>[2] フラグが必要です。Android 6 (Marshmallow) 以上が求められます。</p> |