BluetoothRemoteGATTCharacteristic: startNotifications() メソッド

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

BluetoothRemoteGATTCharacteristic.startNotifications() メソッドは、それに関する活動中のノーティフィケーションが存在するようになったら BluetoothRemoteGATTCharacteristic のインスタンスで解決する Promise を返します。

構文

js
startNotifications()

引数

なし

返値

BluetoothRemoteGATTCharacteristic のインスタンスで解決する Promise です。

仕様書

Specification
Web Bluetooth
# dom-bluetoothremotegattcharacteristic-startnotifications

ブラウザーの互換性

BCD tables only load in the browser