Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

GetCapabilities

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

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
vrCapabilities Common.VrCapabilities false array: true
minsize: 1
maxsize: 100

Sequence Diagrams

Example Request

{
  "id" : 9,
  "jsonrpc" : "2.0",
  "method" : "VR.GetCapabilities"
}

Example Response

{
  "id" : 9,
  "jsonrpc" : "2.0",
  "result" :
  {
    "vrCapabilities" : [TEXT],
    "code" : 0,
    "method" : "VR.GetCapabilities"
  }
}

Example Error

{
  "id" : 9,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 11,
    "message" : "The data sent is invalid",
    "data" :
    {
      "method" : "VR.GetCapabilities"
    }
  }
}
View on GitHub.com
Previous Section Next Section