BluetoothRemoteGATTCharacteristic: getDescriptor() メソッド

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

BluetoothRemoteGATTCharacteristic.getDescriptor() メソッドは、指定のディスクリプター UUID に対応する最初の BluetoothRemoteGATTDescriptor で解決する Promise を返します。

構文

js
getDescriptor(bluetoothDescriptorUUID)

引数

なし

返値

最初の BluetoothRemoteGATTDescriptor で解決する Promise です。

仕様書

Specification
Web Bluetooth
# dom-bluetoothremotegattcharacteristic-getdescriptor

ブラウザーの互換性

BCD tables only load in the browser