BluetoothRemoteGATTDescriptor: readValue() method

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("Bluetooth API")}}{{SeeCompatTable}}{{SecureContext_Header}}

The **BluetoothRemoteGATTDescriptor.readValue()** method returns a {{jsxref("Promise")}} that resolves to a {{jsxref("DataView")}} holding a duplicate of the value property if it is available and supported. Otherwise it throws an error.

Syntax

js-nolint
readValue()

Parameters

None.

Return value

A {{jsxref("Promise")}} that resolves to a {{jsxref("DataView")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}