beautypg.com

Barco PDS-4K HDMI Presentation Switcher User Manual

Page 204

background image

R5912621 /01 PDS–4K

204

Response:
-

response: null

-

success: (0=success, anything else is an error)

Example:
-

{"params": {"id": 1}, "method":"deletePreset", "id":"1234", "jsonrpc":"2.0"}

-

{"params": {"presetSno": 1.00}, "method":"deletePreset", "id":"1234",
"jsonrpc":"2.0"}

-

{"params": {"presetName": "Preset 5.00"}, "method":"deletePreset",

"id":"1234", "jsonrpc":"2.0"}

listDestinations

Definition:
-

This API lists all the destinations with properties such as layers, outputs, id, size, and name.

Request:
-

params:

{"type": x}

0—Show all the destinations.
0 is the default value for the type parameter.

1—Only screen destinations.

Response:
-

response: Array of :

{"ScreenDestination":[{"id": 0, "Name": "Dest1", "HSize": 3840,

"VSize": 1080, "Layers": 1,"DestOutMapColl":[{"id": 0"DestOutMap":[{"id": 0,

"Name": "Out1", "HPos": 0, "VPos": 0, "HSize": 1920, "VSize":1080, "Freeze":

0},{"id": 1, "Name": "Out2", "HPos": 1920, "VPos": 0, "HSize": 1920,

"VSize":1080, "Freeze": 1}]}]}]}

-

success: (0=success, anything else is an error)

Example:
-

{"params": {"type": 0}, "method":"listDestinations", "id":"1234",
"jsonrpc":"2.0"}

listSources

Definition:
-

This API lists all the input sources with properties.

Request:
-

params:

{"type": x}

0—Show all the input sources.
0 is the default value for the type parameter.

Response:
-

response: Array of :

{"id": 0, "Name": "InSource1", "HSize": 3840, "VSize": 1080,

"SrcType": 0, "InputCfgIndex": -1, "StillIndex": 0, "DestIndex": -1,

"UserKeyIndex": -1, "Mode3D": 0, "Freeze": 1, "Capacity": 2,

"InputCfgVideoStatus": 4}

-

success: (0=success, anything else is an error)

Example:
-

{"params": {"type": 0}, "method":"listSources", "id":"1234", "jsonrpc":"2.0"}

listContent

Definition:
-

This API shows the content of a screen destination.

Request:
-

params:

{"id": x}

“id”—Screen destination index.

Response:
-

response:

{"jsonrpc":"2.0","result":{"success":0,"response":

Remote Control Protocol