summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java')
-rwxr-xr-xSDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java b/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java
deleted file mode 100755
index 98e116e06..000000000
--- a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/GetDTCsResponse.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package com.smartdevicelink.proxy.rpc;
-
-import java.util.Hashtable;
-import java.util.Vector;
-
-import com.smartdevicelink.proxy.RPCResponse;
-import com.smartdevicelink.proxy.constants.Names;
-import com.smartdevicelink.proxy.rpc.enums.HMILevel;
-import com.smartdevicelink.proxy.rpc.enums.MediaClockFormat;
-import com.smartdevicelink.proxy.rpc.enums.VehicleDataResultCode;
-import com.smartdevicelink.util.DebugTool;
-
-/**
- * Get DTCs Response is sent, when GetDTCs has been called
- *
- * @since SmartDeviceLink 2.0
- */
-public class GetDTCsResponse extends RPCResponse {
-
- public GetDTCsResponse() {
- super("GetDTCs");
- }
- public GetDTCsResponse(Hashtable hash) {
- super(hash);
- }
- public Vector<String> getDtc() {
- if(parameters.get(Names.dtc) instanceof Vector<?>){
- Vector<?> list = (Vector<?>)parameters.get(Names.dtc);
- if(list != null && list.size()>0){
- Object obj = list.get(0);
- if(obj instanceof String){
- return (Vector<String>) list;
- }
- }
- }
- return null;
- }
- public void setDtc(Vector<String> dtc) {
- if (dtc != null) {
- parameters.put(Names.dtc, dtc);
- } else {
- parameters.remove(Names.dtc);
- }
- }
-} \ No newline at end of file