# setAirPlayState

PRO

Description: enable or disable the AirPlay functionality.

Request example:

{
    "method" : "setAirPlayState",
    "enabled" : true,
    "requestId": "1"
}

Response example:

{
    "method": "setAirPlayState",
    "requestId": "1",
    "result": true
}

Parameter description:

  • enabled - a flag indicating whether the AirPlay functionality should be enabled or disabled

  • requestId - a unique request identifier. You can learn more about it here.

See also: