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

GetLanguage

Type
Function
Sender
SDL
Purpose
Inform SDL of the current HMI display language

Request

Parameters

This RPC has no additional parameter requirements

Response

Parameters

Name Type Mandatory Additional
language Common.Language true

Sequence Diagrams

Example Request

{
  "id" : 167,
  "jsonrpc" : "2.0",
  "method" : "UI.GetLanguage"
}

Example Response

{
  "id" : 167,
  "jsonrpc" : "2.0",
  "result" :
  {
    "language" : "ES-ES",
    "code" : 0,
    "method" : "UI.GetLanguage"
  }
}

Example Error

{
  "id" : 167,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 11,
    "message" : "Invalid data",
    "data" :
    {
      "method" : "UI.GetLanguage"
    }
  }
}
View on GitHub.com
Previous Section Next Section