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
Android Documentation
KeyboardLayoutCapability

Class KeyboardLayoutCapability

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Describes the capabilities of a single keyboard layout.

Parameter List

Param Name Type Description Required Notes Version Available
keyboardLayout KeyboardLayout Y
numConfigurableKeys Integer Number of keys available for special characters, App can customize as per their needs. Y {"num_max_value": 10, "num_min_value": 0}

Fields

KEY_KEYBOARD_LAYOUT

public static final java.lang.String KEY_KEYBOARD_LAYOUT
Constant Value
"keyboardLayout"

KEY_NUM_CONFIGURABLE_KEYS

public static final java.lang.String KEY_NUM_CONFIGURABLE_KEYS
Constant Value
"numConfigurableKeys"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

KeyboardLayoutCapability()

Constructs a new KeyboardLayoutCapability object

public KeyboardLayoutCapability()

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

Constructs a new KeyboardLayoutCapability object indicated by the Hashtable parameter

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

Constructor Parameters

hash
The Hashtable to use

KeyboardLayoutCapability( KeyboardLayout keyboardLayout, Integer numConfigurableKeys )

Constructs a new KeyboardLayoutCapability object

public KeyboardLayoutCapability(KeyboardLayout keyboardLayout,Integer numConfigurableKeys)

Constructor Parameters

keyboardLayout
numConfigurableKeys
Number of keys available for special characters, App can customize as per their needs. {"num_max_value": 10, "num_min_value": 0}

Methods

setKeyboardLayout( KeyboardLayout keyboardLayout )

Sets the keyboardLayout.

public com.smartdevicelink.proxy.rpc.KeyboardLayoutCapability setKeyboardLayout(KeyboardLayout keyboardLayout)

Method Parameters

keyboardLayout

getKeyboardLayout()

Gets the keyboardLayout.

public com.smartdevicelink.proxy.rpc.enums.KeyboardLayout getKeyboardLayout()

setNumConfigurableKeys( Integer numConfigurableKeys )

Sets the numConfigurableKeys.

public com.smartdevicelink.proxy.rpc.KeyboardLayoutCapability setNumConfigurableKeys(Integer numConfigurableKeys)

Method Parameters

numConfigurableKeys
Number of keys available for special characters, App can customize as per their needs. {"num_max_value": 10, "num_min_value": 0}

getNumConfigurableKeys()

Gets the numConfigurableKeys.

public java.lang.Integer getNumConfigurableKeys()

Inherited Methods

From Class Methods
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