BackgroundService.setRecordingSet the recording state for the service.
| Name | Type | Description |
|---|---|---|
shouldRecord | boolean | |
service | ServiceName |
{
"id": 1,
"method": "BackgroundService.setRecording",
"params": {
"shouldRecord": true,
"service": "service-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('BackgroundService.setRecording', {"shouldRecord": true, "service": "service-value"});
console.log(result);