Web Bluetooth API
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
Web Bluetooth API は、Bluetooth Low Energy の周辺機器に接続して操作する機能を提供します。
メモ:
この API は Web Workers では 使用できません 。(WorkerNavigator 経由では公開されていません)
インターフェイス
Bluetooth-
指定のオプションに合致する
BluetoothDeviceオブジェクトで解決するPromiseを返します。 BluetoothCharacteristicProperties-
特定の
BluetoothRemoteGATTCharacteristicのプロパティを提供します。 BluetoothDevice-
特定のスクリプト実行環境内の Bluetooth デバイスを表します。
BluetoothRemoteGATTCharacteristic-
GATT キャラクタリスティックを表します。これは、周辺機器のサービスに関する詳細情報を提供する基本的なデータ要素です。
BluetoothRemoteGATTDescriptor-
GATT ディスクリプターを表します。これは、キャラクタリスティックの値に関する詳細情報を提供します。
BluetoothRemoteGATTServer-
リモートデバイス上の GATT サーバーを表します。
BluetoothRemoteGATTService-
GATT サーバーにより提供されるサービスを表します。デバイス、参照されるサービス、このサービスのキャラクタリスティックのリストも含みます。
仕様書
| Specification |
|---|
| Web Bluetooth> # bluetooth> |
ブラウザーの互換性
Loading…