public class KeyboardProperties extends RPCStruct
Parameter List
| Name | Type | Mandatory | Additional | Description |
|---|---|---|---|---|
| language | Language | false | The keyboard language. | |
| keyboardLayout | KeyboardLayout | false | Desired keyboard layout. | |
| sendDynamicEntry | Boolean | false | In this mode, all key presses will be sent as they occur. If disabled, entire string of text will be returned only once submitted by user.If omitted, this value will be set to FALSE. | |
| keypressMode | KeypressMode | False | Desired keypress mode.If omitted, this value will be set to RESEND_CURRENT_ENTRY. | |
| limitedCharacterList | String | false | Array = true maxLength = 1 minsize = 1 maxsize = 100 | Array of keyboard characters to enable. All omitted characters will be greyed out (disabled) on the keyboard. If omitted, the entire keyboard will be enabled. |
| autoCompleteText | String | false | maxlength = 1000 | Allows an app to prepopulate the text field with a suggested or completed entry as the user types. |
| autoCompleteList | String | false | Array = true maxlength = 1000 minsize = 0 maxsize = 100 | Allows an app to prepopulate the text field with a list of suggested or completed entry as the user types. Set to an empty array to remove the auto-complete list from the screen |
| maskInputCharacters | KeyboardInputMask | false |
|
Allows an app to mask entered characters on HMI |
| customKeys | List |
false | , SmartDeviceLink 7.1.0 | Array of special characters to show in customizable keys. If omitted, keyboard will show default special characters {"string_max_length": 1, "string_min_length": 1, "array_max_size": 10, "array_min_size": 1} |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_AUTO_COMPLETE_LIST |
static String |
KEY_AUTO_COMPLETE_TEXT
Deprecated.
|
static String |
KEY_CUSTOM_KEYS |
static String |
KEY_KEYBOARD_LAYOUT |
static String |
KEY_KEYPRESS_MODE |
static String |
KEY_LANGUAGE |
static String |
KEY_LIMITED_CHARACTER_LIST |
static String |
KEY_MASK_INPUT_CHARACTERS |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
KeyboardProperties() |
KeyboardProperties(Hashtable<String,Object> hash) |
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_KEYPRESS_MODE
public static final String KEY_KEYBOARD_LAYOUT
public static final String KEY_LIMITED_CHARACTER_LIST
@Deprecated public static final String KEY_AUTO_COMPLETE_TEXT
public static final String KEY_AUTO_COMPLETE_LIST
public static final String KEY_MASK_INPUT_CHARACTERS
public static final String KEY_CUSTOM_KEYS
public static final String KEY_LANGUAGE
public Language getLanguage()
public KeyboardProperties setLanguage(Language language)
public KeyboardLayout getKeyboardLayout()
public KeyboardProperties setKeyboardLayout(KeyboardLayout keyboardLayout)
public KeypressMode getKeypressMode()
public KeyboardProperties setKeypressMode(KeypressMode keypressMode)
public KeyboardProperties setLimitedCharacterList(List<String> limitedCharacterList)
@Deprecated public String getAutoCompleteText()
@Deprecated public KeyboardProperties setAutoCompleteText(String autoCompleteText)
setAutoCompleteList(List <String>) insteadautoCompleteText - String representing the suggestions textpublic List<String> getAutoCompleteList()
public KeyboardProperties setAutoCompleteList(List<String> autoCompleteList)
autoCompleteList - Listpublic KeyboardProperties setMaskInputCharacters(KeyboardInputMask maskInputCharacters)
maskInputCharacters - Allows an app to mask entered characters on HMIpublic KeyboardInputMask getMaskInputCharacters()
public KeyboardProperties setCustomKeys(List<String> customKeys)
customKeys - Array of special characters to show in customizable keys. If omitted, keyboard will show
default special characters
{"string_max_length": 1, "string_min_length": 1, "array_max_size": 10, "array_min_size": 1}public List<String> getCustomKeys()