BluetoothRemoteGATTDescriptor: writeValue() メソッド

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

BluetoothRemoteGATTDescriptor.writeValue() メソッドは、value プロパティを ArrayBuffer に格納されたバイト列に設定し、Promise を返します。

構文

js
writeValue(array)

引数

array

value をこの配列に格納されたバイト列に設定します。

返値

Promise です。

仕様書

Specification
Web Bluetooth
# dom-bluetoothremotegattdescriptor-writevalue

ブラウザーの互換性

BCD tables only load in the browser