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

ChangeRegistration

Type
Function
Sender
SDL
Purpose
Change the display language for the specified application on the HMI

Request

Parameters

Name Type Mandatory Additional
appName String false maxlength: 100
ngnMediaScreenAppName String false maxlength: 100
language Common.Language true
appHMIType Common.AppHMIType false array: true
minsize: 1
maxsize: 100
appID Integer true

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

Example Request

{
  "id" : 117,
  "jsonrpc" : "2.0",
  "method" : "UI.ChangeRegistration",
  "params" :
  {
    "Language" : "PT-PT",
    "appID" : 65146
  }
}

Example Response

{
  "id" : 117,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "UI.ChangeRegistration"
  }
}

Example Error

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