summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java')
-rwxr-xr-xSDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java80
1 files changed, 0 insertions, 80 deletions
diff --git a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java b/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java
deleted file mode 100755
index 0c263ba9b..000000000
--- a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/PerformInteractionResponse.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package com.smartdevicelink.proxy.rpc;
-
-import java.util.Hashtable;
-
-import com.smartdevicelink.proxy.RPCResponse;
-import com.smartdevicelink.proxy.constants.Names;
-import com.smartdevicelink.proxy.rpc.enums.TriggerSource;
-import com.smartdevicelink.util.DebugTool;
-
-/**
- * PerformInteraction Response is sent, when PerformInteraction has been called
- *
- * @since SmartDeviceLink 1.0
- */
-public class PerformInteractionResponse extends RPCResponse {
-
- /**
- * Constructs a new PerformInteractionResponse object
- */
- public PerformInteractionResponse() {
- super("PerformInteraction");
- }
-
- /**
- * Constructs a new PerformInteractionResponse object indicated by the Hashtable
- * parameter
- * <p>
- *
- * @param hash
- * The Hashtable to use
- */
- public PerformInteractionResponse(Hashtable hash) {
- super(hash);
- }
- /**
- * Gets the application-scoped identifier that uniquely identifies this choice.
- * @return choiceID Min: 0 Max: 65535
- */
- public Integer getChoiceID() {
- return (Integer) parameters.get( Names.choiceID );
- }
- /**
- * Sets the application-scoped identifier that uniquely identifies this choice.
- * @param choiceID Min: 0 Max: 65535
- */
- public void setChoiceID( Integer choiceID ) {
- if (choiceID != null) {
- parameters.put(Names.choiceID, choiceID );
- }
- }
- /**
- * <p>Returns a <I>TriggerSource</I> object which will be shown in the HMI</p>
- * @return TriggerSource a TriggerSource object
- */
- public TriggerSource getTriggerSource() {
- Object obj = parameters.get(Names.triggerSource);
- if (obj instanceof TriggerSource) {
- return (TriggerSource) obj;
- } else if (obj instanceof String) {
- TriggerSource theCode = null;
- try {
- theCode = TriggerSource.valueForString((String) obj);
- } catch (Exception e) {
- DebugTool.logError("Failed to parse " + getClass().getSimpleName() + "." + Names.triggerSource, e);
- }
- return theCode;
- }
- return null;
- }
- /**
- * <p>Sets TriggerSource<br/>
- * Indicates whether command was selected via VR or via a menu selection (using the OK button).</p>
- * @param triggerSource a TriggerSource object
- */
- public void setTriggerSource( TriggerSource triggerSource ) {
- if (triggerSource != null) {
- parameters.put(Names.triggerSource, triggerSource );
- }
- }
-}