Overlay screencast device name
1. API Description
This API is used to overlay the screencast device name on screen.
Request mode:
- V2.6.0 and above: POST [ip]/mwapi/V2.0/input/set-screencast-name-enable
- V2.5.0 and below: POST [ip]/mwapi/set-screencast-name-enable
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
screencastNameEnable | Yes | Int | Overlay screencast device name on screen. 1: Overlay; 0: Not overlay |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
4. Example
Setting to overlay the screencast device name on screen.
Input Example
{
"screencastNameEnable": 1
}
Output Example
{
"status": 0
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
49 | MW_STATUS_INVALID_DATA | The parameters are missing or incorrect |