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
JavaSE Documentation
OnLanguageChange

Class OnLanguageChange

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct
         com.smartdevicelink.proxy.RPCMessage
             com.smartdevicelink.proxy.RPCNotification

Package
com.smartdevicelink.proxy.rpc

Overview

Provides information to what language the Sdl HMI language was changed

HMI Status Requirements:
    HMILevel:
    • TBD
    AudioStreamingState:
    • TBD
    SystemContext:
    • TBD

Parameter List:

Name Type Description Req Notes SmartDeviceLink Ver Available
language Language Current SDL voice engine (VR+TTS) language Y SmartDeviceLink 2.0
hmiDisplayLanguage Language Current display language Y SmartDeviceLink 2.0

Fields

KEY_LANGUAGE

public static final java.lang.String KEY_LANGUAGE
Constant Value
"language"

KEY_HMI_DISPLAY_LANGUAGE

public static final java.lang.String KEY_HMI_DISPLAY_LANGUAGE
Constant Value
"hmiDisplayLanguage"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

OnLanguageChange()

Constructs a newly allocated OnCommand object

public OnLanguageChange()

OnLanguageChange( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated OnLanguageChange object indicated by the Hashtable parameter

public OnLanguageChange(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

OnLanguageChange( Language language, Language hmiDisplayLanguage )

Constructs a newly allocated OnCommand object

public OnLanguageChange(Language language,Language hmiDisplayLanguage)

Constructor Parameters

language
language that current SDL voice engine(VR+TTS) use
hmiDisplayLanguage
language that current SDL voice engine(VR+TTS) use

Methods

setLanguage( Language language )

Sets language that current SDL voice engine(VR+TTS) use

public com.smartdevicelink.proxy.rpc.OnLanguageChange setLanguage(Language language)

Method Parameters

language
language that current SDL voice engine(VR+TTS) use

getLanguage()

Returns language that current SDL voice engine(VR+TTS) use

public com.smartdevicelink.proxy.rpc.enums.Language getLanguage()

setHmiDisplayLanguage( Language hmiDisplayLanguage )

Sets language that current display use

public com.smartdevicelink.proxy.rpc.OnLanguageChange setHmiDisplayLanguage(Language hmiDisplayLanguage)

Method Parameters

hmiDisplayLanguage
language that current SDL voice engine(VR+TTS) use

getHmiDisplayLanguage()

Returns language that current display use

public com.smartdevicelink.proxy.rpc.enums.Language getHmiDisplayLanguage()

Inherited Methods

From Class Methods
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
View on GitHub.com
Previous Section Next Section