← Back to BluetoothEmulation domain

BluetoothEmulation.removeDescriptor

Removes the descriptor with |descriptorId| from the simulated central.

Domain: BluetoothEmulation experimental

Parameters

NameTypeDescription
descriptorIdstring

Example Request

{
  "id": 1,
  "method": "BluetoothEmulation.removeDescriptor",
  "params": {
    "descriptorId": "descriptorId-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('BluetoothEmulation.removeDescriptor', {"descriptorId": "descriptorId-value"});
console.log(result);