Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
ChangeRegistration

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

JSON Message Examples

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