/osc/commands response in progress of execution
Description: Returned when the command execution is still in progress.
Examples:
{
"name": "camera.takePicture",
"id": "1234",
"state": "inProgress",
"progress": {
"completion": 0
}
}
{
"name": "camera.startCapture",
"id": "5678",
"state": "inProgress",
"progress": {
"completion": 0.1
}
}
{
"name": "camera._convertVideoFormats",
"id": "9012",
"state": "inProgress",
"progress": {
"completion": 0.5
}
}
Property |
Type |
Required |
Description |
name |
string |
yes |
Executing command. See commands. |
state |
const |
yes |
State of the command. |
id |
string |
yes |
Command ID, used to check the execution status with /osc/commands/status API. |
progress |
object |
yes |
Progress of command processing. |
name
Description: Executing command. See commands.
state
Description: State of the command.
Specific value: "inProgress"
id
Description: Command ID, used to check the execution status with /osc/commands/status API.
progress
Description: Progress of command processing.
Property |
Type |
Required |
Description |
completion |
number |
yes |
Progress rate of command processing between zero and one. |
completion
Description: Progress rate of command processing between zero and one.
|
Restrictions |
Minimum |
≥ 0 |
Maximum |
≤ 1 |