Firefox Tomorrow

web api instance method

BluetoothRemoteGATTCharacteristic: getDescriptor() method

View on MDN ↗

Limited availabilitySecure context

The BluetoothRemoteGATTCharacteristic.getDescriptor() method returns a Promise that resolves to the first BluetoothRemoteGATTDescriptor for a given descriptor UUID.

Syntax

getDescriptor(bluetoothDescriptorUUID)

Parameters

None.

Return value

A Promise that resolves to the first BluetoothRemoteGATTDescriptor.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.