Firefox Tomorrow

web api instance method

BluetoothRemoteGATTDescriptor: readValue() method

View on MDN ↗

Limited availabilitySecure context

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

Syntax

readValue()

Parameters

None.

Return value

A Promise that resolves to a DataView.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.