--- title: Bluetooth slug: Web/API/Bluetooth tags: - API - Buetooth - Interface - Non-standard - Reference - Web Buletooth API translation_of: Web/API/Bluetooth ---
{{ apiref("W3C Bluetooth API") }} {{Non-standard_header()}}
Web Bluetooth API の Bluetooth インターフェースは、オプション指定した {{domxref("BluetoothDevice")}} の {{jsxref("Promise")}} を返します。
interface Bluetooth {
Promise<BluetoothDevice> requestDevice(RequestDeviceOptions options);
};
Bluetooth implements EventTarget;
Bluetooth implements BluetoothDeviceEventHandlers;
Bluetooth implements CharacteristicEventHandlers;
Bluetooth implements ServiceEventHandlers;
| 仕様 | ステータス | コメント |
|---|---|---|
| {{SpecName('Web Bluetooth', '#bluetooth', 'Bluetooth')}} | {{Spec2('Web Bluetooth')}} | 初期定義。 |
{{Compat("api.Bluetooth")}}