java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCRequest
Function Group: Base
HMILevel can by any
Note:SDL will send the language value confirmed to be supported by HMI via UI.GetCapabilities.
Parameter List
Name | Type | Description | Req. | Notes | Version Available |
---|---|---|---|---|---|
Language | Language | Requested SDL voice engine (VR+TTS) language registration. | Y | SmartDeviceLink 2.0 | |
hmiDisplayLanguage | Language | Request display language registration. | Y | Minvalue=0; Maxvalue=2000000000 | SmartDeviceLink 2.0 |
appName | String | Request new app name registration | N | maxlength:100 | SmartDeviceLink 2.0 |
ttsName | TTSChunk | Request new ttsName registration | N | minsize:1; maxsize:100 | SmartDeviceLink 2.0 |
ngnMediaScreenAppName | String | Request new app short name registration | N | maxlength: 100 | SmartDeviceLink 2.0 |
vrSynonyms | String | Request new VR synonyms registration | N | maxlength: 40; minsize:1; maxsize:100 | SmartDeviceLink 2.0 |
Response
Non-default Result Codes:
SUCCESS
INVALID_DATA
OUT_OF_MEMORY
TOO_MANY_PENDING_REQUESTS
APPLICATION_NOT_REGISTERED
GENERIC_ERROR
REJECTED
DISALLOWED
public static final java.lang.String KEY_LANGUAGE
public static final java.lang.String KEY_HMI_DISPLAY_LANGUAGE
public static final java.lang.String KEY_APP_NAME
public static final java.lang.String KEY_TTS_NAME
public static final java.lang.String KEY_NGN_MEDIA_SCREEN_NAME
public static final java.lang.String KEY_VR_SYNONYMS
Constructs a new ChangeRegistration object
public ChangeRegistration()
Constructs a new ChangeRegistration object indicated by the Hashtable parameter
public ChangeRegistration(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a new ChangeRegistration object
public ChangeRegistration(Language language,Language hmiDisplayLanguage)
Sets language
public com.smartdevicelink.proxy.rpc.ChangeRegistration setLanguage(Language language)
Gets language
public com.smartdevicelink.proxy.rpc.enums.Language getLanguage()
Sets HMI display language
public com.smartdevicelink.proxy.rpc.ChangeRegistration setHmiDisplayLanguage(Language hmiDisplayLanguage)
Gets HMI display language
public com.smartdevicelink.proxy.rpc.enums.Language getHmiDisplayLanguage()
Sets app name
public com.smartdevicelink.proxy.rpc.ChangeRegistration setAppName(String appName)
Gets app name
public java.lang.String getAppName()
Sets NGN media screen app name
public com.smartdevicelink.proxy.rpc.ChangeRegistration setNgnMediaScreenAppName(String ngnAppName)
Gets NGN media screen app name
public java.lang.String getNgnMediaScreenAppName()
Sets the TTS name
public com.smartdevicelink.proxy.rpc.ChangeRegistration setTtsName(java.util.List<com.smartdevicelink.proxy.rpc.TTSChunk> ttsName)
Gets the TTS name
public java.util.List getTtsName()
Gets the List
public java.util.List getVrSynonyms()
Sets a vrSynonyms representing the an array of 1-100 elements, each element containing a voice-recognition synonym
public com.smartdevicelink.proxy.rpc.ChangeRegistration setVrSynonyms(java.util.List<java.lang.String> vrSynonyms)
Notes:
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCRequest | getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener |
com.smartdevicelink.proxy.RPCMessage | getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong |
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |