public class CancelInteraction extends RPCRequest
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_CANCEL_ID |
static String |
KEY_FUNCTION_ID |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
CancelInteraction()
Constructs a new CancelInteraction object
|
CancelInteraction(Hashtable<String,Object> hash)
Constructs a new CancelInteraction object indicated by the Hashtable parameter
|
CancelInteraction(Integer functionID)
Convenience init for dismissing an interaction type.
|
CancelInteraction(Integer functionID,
Integer cancelID)
Convenience init for dismissing a specific interaction.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCancelID()
The ID of the specific interaction to dismiss.
|
Integer |
getInteractionFunctionID()
Gets the ID of the type of interaction the developer wants to dismiss.
|
CancelInteraction |
setCancelID(Integer cancelID)
The ID of the specific interaction to dismiss.
|
CancelInteraction |
setInteractionFunctionID(Integer functionID)
Sets the ID of the type of interaction the developer wants to dismiss.
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, 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_CANCEL_ID
public static final String KEY_FUNCTION_ID
public CancelInteraction()
public CancelInteraction(Hashtable<String,Object> hash)
hash - The Hashtable to usepublic CancelInteraction(@NonNull
Integer functionID)
functionID - - The ID of the type of interaction to dismisspublic Integer getInteractionFunctionID()
public CancelInteraction setInteractionFunctionID(@NonNull Integer functionID)
functionID - - the functionIDpublic Integer getCancelID()
public CancelInteraction setCancelID(Integer cancelID)
cancelID - - the cancelID