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

GetSupportedLanguages

Type
Function
Sender
SDL
Purpose
Get the supported UI languages

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
languages Common.Language true array: true
minsize: 1
maxsize: 100

Sequence Diagrams

Example Request

{
  "id" : 99,
  "jsonrpc" : "2.0",
  "method" : "UI.GetSupportedLanguages"
}

Example Response

{
  "id" : 99,
  "jsonrpc" : "2.0",
  "result" :
  {
    "languages" : ["AR-SA", "DE-DE", "EN-GB", "EN-US", "ES-ES", "FR-FR", "IT-IT"],
    "code" : 0,
    "method" : "UI.GetSupportedLanguages"
  }
}

Example Error

{
  "id" : 99,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 9,
    "message" : "The requested data is not available",
    "data" :
    {
      "method" : "UI.GetSupportedLanguages"
    }
  }
}
View on GitHub.com
Previous Section Next Section