BluetoothRemoteGATTCharacteristic: getDescriptors() 方法
BluetoothRemoteGATTCharacteristic.getDescriptors() 方法返回一個 Promise,該 Promise 會解析為一個 Array,其中包含給定描述符 UUID 的所有 BluetoothRemoteGATTDescriptor 物件。
語法
js
getDescriptors(bluetoothDescriptorUUID)
引數
無。
返回值
一個 Promise,它會解析為一個 Array,其中包含 BluetoothRemoteGATTDescriptor 物件。
規範
| 規範 |
|---|
| Web 藍牙 # dom-bluetoothremotegattcharacteristic-getdescriptors |
瀏覽器相容性
載入中…