camera._pluginControl command request
Example:
{
"name": "camera._pluginControl",
"parameters": {
"action": "boot"
}
}
Property |
Type |
Required |
Description |
name |
const |
yes |
Command to execute |
parameters |
object |
yes |
- |
name
Description: Command to execute
Specific value: "camera._pluginControl"
parameters
Property |
Type |
Required |
Description |
action |
enum (of string) |
yes |
Type of action. - boot
- start plugin
- finish
- stop plugin
|
plugin |
string |
no |
Target plugin package name. If no target is specified, then plugin 1 will start. This parameter is ignored when action parameter is “finish”. |
action
|
Definitions |
Type |
enum (of string) |
Description: Type of action.
- boot
- start plugin
- finish
- stop plugin
Must be one of:
plugin
Description: Target plugin package name. If no target is specified, then plugin 1 will start. This parameter is ignored when action parameter is “finish”.