set-projection-screen-config
Use the interface to enable or disable screencast protocols.
Request Mode
POST http://ip/mwapi/set-projection-screen-config
{
"airPlayEnable": 1
}
Parameter | Description |
---|---|
airPlayEnable | Allow Apple or other devices supporting AirPlay to cast. 1: Allow, 0: Not allow |
miracastEnable | Allow Windows or Android devices supporting Miracast to cast. 1: Allow, 0: Not allow |
googleCastEnable | Allow software or devices supporting Google Cast to cast, such as Chrome Book or Chrome browser. 1: Allow, 0: Not allow |
Response Body
{
"status": 0
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |