mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs(ci): Update protocol.md - 6b05d03 [skip ci]
This commit is contained in:
parent
6b05d0381e
commit
6f0d056059
@ -4389,6 +4389,47 @@
|
|||||||
"lead": "",
|
"lead": "",
|
||||||
"type": "class",
|
"type": "class",
|
||||||
"examples": []
|
"examples": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"subheads": [],
|
||||||
|
"description": "Waits for the specified duration. Designed to be used in `ExecuteBatch` operations.",
|
||||||
|
"param": "{int} `sleepMillis` Delay in milliseconds to wait before continuing.",
|
||||||
|
"api": "requests",
|
||||||
|
"name": "Sleep",
|
||||||
|
"category": "general",
|
||||||
|
"since": "unreleased",
|
||||||
|
"params": [
|
||||||
|
{
|
||||||
|
"type": "int",
|
||||||
|
"name": "sleepMillis",
|
||||||
|
"description": "Delay in milliseconds to wait before continuing."
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"names": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"description": "Sleep"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"categories": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"description": "general"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"sinces": [
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"description": "unreleased"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"heading": {
|
||||||
|
"level": 2,
|
||||||
|
"text": "Sleep"
|
||||||
|
},
|
||||||
|
"lead": "",
|
||||||
|
"type": "class",
|
||||||
|
"examples": []
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"media control": [
|
"media control": [
|
||||||
|
@ -142,6 +142,7 @@ You can also refer to any of the client libraries listed on the [README](README.
|
|||||||
+ [TriggerHotkeyByName](#triggerhotkeybyname)
|
+ [TriggerHotkeyByName](#triggerhotkeybyname)
|
||||||
+ [TriggerHotkeyBySequence](#triggerhotkeybysequence)
|
+ [TriggerHotkeyBySequence](#triggerhotkeybysequence)
|
||||||
+ [ExecuteBatch](#executebatch)
|
+ [ExecuteBatch](#executebatch)
|
||||||
|
+ [Sleep](#sleep)
|
||||||
* [Media Control](#media-control)
|
* [Media Control](#media-control)
|
||||||
+ [PlayPauseMedia](#playpausemedia)
|
+ [PlayPauseMedia](#playpausemedia)
|
||||||
+ [RestartMedia](#restartmedia)
|
+ [RestartMedia](#restartmedia)
|
||||||
@ -1777,6 +1778,26 @@ Executes a list of requests sequentially (one-by-one on the same thread).
|
|||||||
| `results.*.error` | _String (Optional)_ | Error message accompanying an `error` status. |
|
| `results.*.error` | _String (Optional)_ | Error message accompanying an `error` status. |
|
||||||
|
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
### Sleep
|
||||||
|
|
||||||
|
|
||||||
|
- Unreleased
|
||||||
|
|
||||||
|
Waits for the specified duration. Designed to be used in `ExecuteBatch` operations.
|
||||||
|
|
||||||
|
**Request Fields:**
|
||||||
|
|
||||||
|
| Name | Type | Description |
|
||||||
|
| ---- | :---: | ------------|
|
||||||
|
| `sleepMillis` | _int_ | Delay in milliseconds to wait before continuing. |
|
||||||
|
|
||||||
|
|
||||||
|
**Response Items:**
|
||||||
|
|
||||||
|
_No additional response items._
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Media Control
|
## Media Control
|
||||||
|
Loading…
x
Reference in New Issue
Block a user