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
JavaScript Suite Documentation
KeyboardLayoutCapability

KeyboardLayoutCapability Class Reference

Constructors

Instance Methods

Constructors

new KeyboardLayoutCapability(parameters)

Initializes an instance of KeyboardLayoutCapability.

Instance Methods

keyboardLayoutCapability.getKeyboardLayout() ⇒ KeyboardLayout

Get the KeyboardLayout

Kind: Instance method of KeyboardLayoutCapability
Returns: KeyboardLayout - the KEY_KEYBOARD_LAYOUT value

keyboardLayoutCapability.getNumConfigurableKeys() ⇒ Number

Get the NumConfigurableKeys

Kind: Instance method of KeyboardLayoutCapability
Returns: Number - the KEY_NUM_CONFIGURABLE_KEYS value

keyboardLayoutCapability.setKeyboardLayout(layout) ⇒ KeyboardLayoutCapability

Set the KeyboardLayout

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

ParamTypeDescription
layout KeyboardLayout Enumeration listing possible keyboard layouts. - The desired KeyboardLayout.

keyboardLayoutCapability.setNumConfigurableKeys(keys) ⇒ KeyboardLayoutCapability

Set the NumConfigurableKeys

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

ParamTypeDescription
keys Number Number of keys available for special characters, App can customize as per their needs. - The desired NumConfigurableKeys. {'num_min_value': 0, 'num_max_value': 10}
View on GitHub.com
Previous Section Next Section