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

GetSupportedLanguages

Type
Function
Sender
SDL
Purpose
Get the supported VR languages

Request

Parameters

This RPC has no additional parameter requirements

Response

Parameters

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

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 18,
  "jsonrpc" : "2.0",
  "method" : "VR.GetSupportedLanguages"
}

Example Response

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

Example Error

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