← Back to BluetoothEmulation domain

BluetoothEmulation.removeService

Removes the service respresented by |serviceId| from the simulated central.

Domain: BluetoothEmulation experimental

Parameters

NameTypeDescription
serviceIdstring

Example Request

{
  "id": 1,
  "method": "BluetoothEmulation.removeService",
  "params": {
    "serviceId": "serviceId-value"
  }
}

Example Response

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

Usage in Node.js

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