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
KeyboardCapabilities

KeyboardCapabilities Class Reference

Constructors

Instance Methods

Constructors

new KeyboardCapabilities(parameters)

Initializes an instance of KeyboardCapabilities.

Instance Methods

keyboardCapabilities.getMaskInputCharactersSupported() ⇒ Boolean

Get the MaskInputCharactersSupported

Kind: Instance method of KeyboardCapabilities
Returns: Boolean - the KEY_MASK_INPUT_CHARACTERS_SUPPORTED value

keyboardCapabilities.getSupportedKeyboards() ⇒ Array.<KeyboardLayoutCapability>

Get the SupportedKeyboards

Kind: Instance method of KeyboardCapabilities
Returns: Array.<KeyboardLayoutCapability> - the KEY_SUPPORTED_KEYBOARDS value

keyboardCapabilities.setMaskInputCharactersSupported(supported) ⇒ KeyboardCapabilities

Set the MaskInputCharactersSupported

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

ParamTypeDescription
supported Boolean Availability of capability to mask input characters using keyboard. True: Available, False: Not Available - The desired MaskInputCharactersSupported.

keyboardCapabilities.setSupportedKeyboards(keyboards) ⇒ KeyboardCapabilities

Set the SupportedKeyboards

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

ParamTypeDescription
keyboards Array.<KeyboardLayoutCapability> Capabilities of supported keyboard layouts by HMI. - The desired SupportedKeyboards. {'array_min_size': 1, 'array_max_size': 1000}
View on GitHub.com
Previous Section Next Section