BluetoothRemoteGATTCharacteristic: getDescriptor() 方法
BluetoothRemoteGATTCharacteristic.getDescriptor() 方法返回一个 Promise,该 Promise 会解析为给定描述符 UUID 的第一个 BluetoothRemoteGATTDescriptor。
语法
js
getDescriptor(bluetoothDescriptorUUID)
参数
无。
返回值
一个 Promise,解析为第一个 BluetoothRemoteGATTDescriptor。
规范
| 规范 |
|---|
| Web 蓝牙 # dom-bluetoothremotegattcharacteristic-getdescriptor |
浏览器兼容性
加载中…