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

OnLanguageChange Class Reference

Constructors

Instance Methods

Constructors

new OnLanguageChange(parameters)

Initalizes an instance of OnLanguageChange.

Instance Methods

onLanguageChange.getHmiDisplayLanguage() ⇒ Language

Get the HmiDisplayLanguage

Kind: Instance method of OnLanguageChange
Returns: Language - the KEY_HMI_DISPLAY_LANGUAGE value

onLanguageChange.getLanguage() ⇒ Language

Get the Language

Kind: Instance method of OnLanguageChange
Returns: Language - the KEY_LANGUAGE value

onLanguageChange.setHmiDisplayLanguage(language) ⇒ OnLanguageChange

Set the HmiDisplayLanguage

Kind: Instance method of OnLanguageChange
Returns: OnLanguageChange - The class instance for method chaining.

ParamTypeDescription
language Language Current display language - The desired HmiDisplayLanguage.

onLanguageChange.setLanguage(language) ⇒ OnLanguageChange

Set the Language

Kind: Instance method of OnLanguageChange
Returns: OnLanguageChange - The class instance for method chaining.

ParamTypeDescription
language Language Current SDL voice engine (VR+TTS) language - The desired Language.
View on GitHub.com
Previous Section Next Section