MDN self-hosted library · e01.org

BluetoothRemoteGATTCharacteristic: readValue() method

Bluetooth API

no runnable cells web-api-instance-method upstream source

Bluetooth API

The BluetoothRemoteGATTCharacteristic.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

Browser compatibility