This RPC has no additional parameter requirements
Name | Type | Mandatory | Additional |
---|---|---|---|
capabilities | Common.ButtonCapabilities | true | array: true minsize: 1 maxsize: 100 |
presetBankCapabilities | Common.PresetBankCapabilities | false |
{ "id" : 20, "jsonrpc" : "2.0", "method" : "Buttons.GetCapabilities" }
{ "id" : 20, "jsonrpc" : "2.0", "result" : { "capabilities" : [ { "name" : "OK", "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true }, { "name" : "SEEKLEFT", "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true }, { "name" : "SEEKRIGHT", "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true }, { "name" : "TUNEUP", "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true }, { "name" : "TUNEDOWN", "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true } ], "presetBankCapabilities" : { "onScreenPresetsAvailable" : true }, "code" : 0, "method" : "Buttons.GetCapabilities" } }
{ "id" : 20, "jsonrpc" : "2.0", "error" : { "code" : 9, "message" : "The requested data is not available", "data" : { "method" : "Buttons.GetCapabilities" } } }