Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BluetoothRemoteGATTDescriptor

Bluetooth Remote GATT Descriptor class

Hierarchy

  • BluetoothRemoteGATTDescriptor

Implements

  • W3CBluetoothRemoteGATTDescriptor

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly characteristic

characteristic: BluetoothRemoteGATTCharacteristic = ...

The characteristic the descriptor is related to

Readonly uuid

uuid: string = ...

The unique identifier of the descriptor

Accessors

value

  • get value(): DataView

Methods

readValue

  • readValue(): Promise<DataView>
  • Gets the value of the descriptor

    Returns Promise<DataView>

    Promise containing the value

writeValue

  • writeValue(value: ArrayBuffer | ArrayBufferView): Promise<void>
  • Updates the value of the descriptor

    Parameters

    • value: ArrayBuffer | ArrayBufferView

      The value to write

    Returns Promise<void>