Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
GetCapabilities

GetCapabilities

Type
Function
Sender
SDL
Purpose
Inform SDL of the UI capabilities of the vehicle.

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
displayCapabilities Common.DisplayCapabilities true
audioPassThruCapabilities Common.AudioPassThruCapabilities true
hmiZoneCapabilities Common.HmiZoneCapabilities true
softButtonCapabilities Common.SoftButtonCapabilities false
hmiCapabilities Common.HMICapabilities false
systemCapabilities Common.SystemCapabilities false

Sequence Diagrams

Example Request

{
  "id" : 18,
  "jsonrpc" : "2.0",
  "method" : "UI.GetCapabilities"
}

Example Response

{
  "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,
        "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"
    },
    "code" : 0,
    "method" : "UI.GetCapabilities"
  }
}

Example Error

{
  "id" : 18,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : "During API call the unknown error has occurred",
    "data" :
    {
      "method" : "UI.GetCapabilities"
    }
  }
}
View on GitHub.com
Previous Section Next Section