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 language for voice recognition.

Request

Parameters

Name Type Mandatory Additional Description
vrSynonyms String false array: true
minsize: 1
maxsize: 100
maxlength: 40
Request new VR synonyms registration
Defines an additional voice recognition command.
Must not interfere with any name of previously registered applications from the same device.
language Common.Language true The language application wants to switch to.
appID Integer true ID of application that concerns this RPC.

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 206,
  "jsonrpc" : "2.0",
  "method" : "VR.ChangeRegistration",
  "params" :
  {
    "language" : "DE-DE",
    "appID" : 13264
  }
}

Example Response

{
  "id" : 206,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "VR.ChangeRegistration"
  }
}

Example Error

{
  "id" : 206,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : "The unknown error occurred",
    "data" :
    {
      "method" : "VR.ChangeRegistration"
    }
  }
}
View on GitHub.com
Previous Section Next Section