BluetoothRemoteGATTCharacteristic: getDescriptors() method
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}
The **BluetoothRemoteGATTCharacteristic.getDescriptors()** method returns a {{jsxref("Promise")}} that resolves to an {{jsxref("Array")}} of all {{domxref("BluetoothRemoteGATTDescriptor")}} objects for a given descriptor UUID.
Syntax
js-nolint
getDescriptors(bluetoothDescriptorUUID)Parameters
None.
Return value
A {{jsxref("Promise")}} that resolves to an {{jsxref("Array")}} of {{domxref("BluetoothRemoteGATTDescriptor")}} objects.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}