BluetoothEmulation.setSimulatedCentralStateSet the state of the simulated central.
| Name | Type | Description |
|---|---|---|
state | CentralState | State of the simulated central. |
{
"id": 1,
"method": "BluetoothEmulation.setSimulatedCentralState",
"params": {
"state": "state-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('BluetoothEmulation.setSimulatedCentralState', {"state": "state-value"});
console.log(result);