BluetoothRemoteGATTCharacteristic: getDescriptor() 方法
BluetoothRemoteGATTCharacteristic.getDescriptor() 方法返回一個 Promise,該 Promise 會解析為給定描述符 UUID 的第一個 BluetoothRemoteGATTDescriptor。
語法
js
getDescriptor(bluetoothDescriptorUUID)
引數
無。
返回值
一個 Promise,解析為第一個 BluetoothRemoteGATTDescriptor。
規範
| 規範 |
|---|
| Web 藍牙 # dom-bluetoothremotegattcharacteristic-getdescriptor |
瀏覽器相容性
載入中…