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
Get the current TTS language.

Request

Parameters

Name Type Mandatory Additional

Response

Parameters

Name Type Mandatory Additional
language Common.Language true

Sequence Diagrams

Example Request

{
  "id" : 110,
  "jsonrpc" : "2.0",
  "method" : "TTS.GetLanguage",
}

Example Response

{
  "id" : 110,
  "jsonrpc" : "2.0",
  "result" :
  {
    "language" : "DE-DE",
    "code" : 0,
    "method" : "TTS.GetLanguage"
  }
}

Example Error

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