Firefox Tomorrow

web api instance method

BluetoothRemoteGATTDescriptor: writeValue() method

View on MDN ↗

Limited availabilitySecure context

The BluetoothRemoteGATTDescriptor.writeValue() method sets the value property to the bytes contained in an ArrayBuffer, TypedArray, or DataView and returns a Promise.

Syntax

writeValue(buffer)

Parameters

  • buffer
    • : Sets the value with the bytes contained in the buffer.

Return value

A Promise.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.