public class PerformInteractionResponse extends RPCResponse
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CHOICE_ID |
static String |
KEY_MANUAL_TEXT_ENTRY |
static String |
KEY_TRIGGER_SOURCE |
KEY_INFO, KEY_RESULT_CODE, KEY_SUCCESSfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
PerformInteractionResponse()
Constructs a new PerformInteractionResponse object
|
PerformInteractionResponse(Boolean success,
Result resultCode)
Constructs a new PerformInteractionResponse object
|
PerformInteractionResponse(Hashtable<String,Object> hash)
Constructs a new PerformInteractionResponse object indicated by the Hashtable
parameter
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getChoiceID()
Gets the application-scoped identifier that uniquely identifies this choice.
|
String |
getManualTextEntry() |
TriggerSource |
getTriggerSource()
Returns a TriggerSource object which will be shown in the HMI
|
PerformInteractionResponse |
setChoiceID(Integer choiceID)
Sets the application-scoped identifier that uniquely identifies this choice.
|
PerformInteractionResponse |
setManualTextEntry(String manualTextEntry) |
PerformInteractionResponse |
setTriggerSource(TriggerSource triggerSource)
Sets TriggerSource
Indicates whether command was selected via VR or via a menu selection (using the OK button).
|
getCorrelationID, getInfo, getResultCode, getSuccess, setCorrelationID, setInfo, setResultCode, setSuccessgetBoolean, 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_MANUAL_TEXT_ENTRY
public static final String KEY_TRIGGER_SOURCE
public static final String KEY_CHOICE_ID
public PerformInteractionResponse()
public PerformInteractionResponse(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic Integer getChoiceID()
public PerformInteractionResponse setChoiceID(Integer choiceID)
choiceID - Min: 0 Max: 65535public TriggerSource getTriggerSource()
Returns a TriggerSource object which will be shown in the HMI
public PerformInteractionResponse setTriggerSource(TriggerSource triggerSource)
Sets TriggerSource Indicates whether command was selected via VR or via a menu selection (using the OK button).
triggerSource - a TriggerSource objectpublic PerformInteractionResponse setManualTextEntry(String manualTextEntry)
public String getManualTextEntry()