public class OnKeyboardInput extends RPCNotification
Parameter List
| Name | Type | Description | Reg. | Notes | Version |
|---|---|---|---|---|---|
| event | KeyboardEvent | On-screen keyboard input data. | Y | SmartDeviceLink 3.0 | |
| data | String | On-screen keyboard input data.For dynamic keypress events, this will be the current compounded string of entry text.For entry cancelled and entry aborted events, this data param will be omitted. | Maxlength: 500 | SmartDeviceLink 3.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_DATA |
static String |
KEY_EVENT |
function, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
OnKeyboardInput()
Constructs a new OnKeyboardInput object
|
OnKeyboardInput(Hashtable<String,Object> hash)
Constructs a new OnKeyboardInput object indicated by the Hashtable
parameter
|
OnKeyboardInput(KeyboardEvent event)
Constructs a new OnKeyboardInput object
|
| Modifier and Type | Method and Description |
|---|---|
String |
getData() |
KeyboardEvent |
getEvent() |
OnKeyboardInput |
setData(String data) |
OnKeyboardInput |
setEvent(KeyboardEvent event) |
String |
toString() |
getBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_DATA
public static final String KEY_EVENT
public OnKeyboardInput()
public OnKeyboardInput(Hashtable<String,Object> hash)
Constructs a new OnKeyboardInput object indicated by the Hashtable parameter
hash - The Hashtable to usepublic OnKeyboardInput(@NonNull
KeyboardEvent event)
public KeyboardEvent getEvent()
public OnKeyboardInput setEvent(@NonNull KeyboardEvent event)
public OnKeyboardInput setData(String data)
public String getData()