This RPC has no additional parameter requirements
Name | Type | Mandatory | Additional |
---|---|---|---|
displayCapabilities | Common.DisplayCapabilities | true | |
audioPassThruCapabilities | Common.AudioPassThruCapabilities | true | |
audioPassThruCapabilitiesList | Common.AudioPassThruCapabilities | false | array: true minsize: 1 maxsize: 100 |
hmiZoneCapabilities | Common.HmiZoneCapabilities | true | |
softButtonCapabilities | Common.SoftButtonCapabilities | false | array: true minsize: 1 maxsize: 100 |
hmiCapabilities | Common.HMICapabilities | false | |
systemCapabilities | Common.SystemCapabilities | false |
{ "id" : 18, "jsonrpc" : "2.0", "method" : "UI.GetCapabilities" }
{ "id" : 18, "jsonrpc" : "2.0", "result" : { "displayCapabilities" : { "displayType" : "GEN2_8_DMA", "textFields" : ["mainField1", "mainField2", "mediaclock", "mediaTrack", "alertText1", "alertText2", "alertText3", "scrollableMessageBody", "initialInteractionText", "navigationText1", "navigationText2", "audioPassThruDisplayText1", "audioPassThruDisplayText2", "notificationText"], "mediaClockFormats" : ["CLOCK1", "CLOCKTEXT4"], "graphicSupported" : true, "templatesAvailable" : ["MEDIA"], "imageCapabilities": ["DYNAMIC"] }, "hmiCapabilities" : { "navigation" : true, "phoneCall" : true, "videoStreaming" : true }, "systemCapabilities": { "navigationCapability": { "sendLocationEnabled": true, "getWayPointsEnabled": true }, "phoneCapability": { "dialNumberEnabled": true }, "videoStreamingCapability": { "preferredResolution": { "resolutionWidth": 800, "resolutionHeight": 350 }, "maxBitrate": 10000, "supportedFormats": [{ "protocol": "RAW", "codec": "H264" }], "hapticSpatialDataSupported": true } }, "softButtonCapabilities" : [ { "shortPressAvailable" : true, "longPressAvailable" : true, "upDownAvailable" : true, "imageSupported" : true } ], "hmiZoneCapabilities" : "FRONT", "audioPassThruCapabilities" : { "samplingRate" : "44KHZ", "bitsPerSample" : "8_BIT", "audioType" : "PCM" }, "audioPassThruCapabilitiesList" : [{ "samplingRate" : "44KHZ", "bitsPerSample" : "8_BIT", "audioType" : "PCM" },{ "samplingRate" : "22KHZ", "bitsPerSample" : "8_BIT", "audioType" : "PCM" }], "code" : 0, "method" : "UI.GetCapabilities" } }
{ "id" : 18, "jsonrpc" : "2.0", "error" : { "code" : 22, "message" : "During API call the unknown error has occurred", "data" : { "method" : "UI.GetCapabilities" } } }