summaryrefslogtreecommitdiff
path: root/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java')
-rwxr-xr-xSDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java86
1 files changed, 0 insertions, 86 deletions
diff --git a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java b/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java
deleted file mode 100755
index 11a79dd57..000000000
--- a/SDL_Android/SmartDeviceLinkProxyAndroid/src/com/smartdevicelink/proxy/rpc/OnTBTClientState.java
+++ /dev/null
@@ -1,86 +0,0 @@
-package com.smartdevicelink.proxy.rpc;
-
-import java.util.Hashtable;
-
-import com.smartdevicelink.proxy.RPCNotification;
-import com.smartdevicelink.proxy.constants.Names;
-import com.smartdevicelink.proxy.rpc.enums.TBTState;
-import com.smartdevicelink.util.DebugTool;
-
-/**
- * <p>Notifies the application of the current TBT client status on the module.</p>
- *
- * <p></p>
- * <b>HMI Status Requirements:</b>
- * <ul>
- * HMILevel:
- * <ul><li>Can be sent with FULL, LIMITED or BACKGROUND</li></ul>
- * AudioStreamingState:
- * <ul><li>Any</li></ul>
- * SystemContext:
- * <ul><li>Any</li></ul>
- * </ul>
- * <p></p>
- * <b>Parameter List:</b>
- * <table border="1" rules="all">
- * <tr>
- * <th>Name</th>
- * <th>Type</th>
- * <th>Description</th>
- * <th>Applink Ver Available</th>
- * </tr>
- * <tr>
- * <td>state</td>
- * <td>{@linkplain TBTState}</td>
- * <td>Current state of TBT client.</td>
- * <td>SmartDeviceLink 1.0</td>
- * </tr>
- * </table>
- * @since SmartDeviceLink 1.0
- *
- */
-public class OnTBTClientState extends RPCNotification {
- /**
- *Constructs a newly allocated OnTBTClientState object
- */
- public OnTBTClientState() {
- super("OnTBTClientState");
- }
- /**
- *<p>Constructs a newly allocated OnTBTClientState object indicated by the Hashtable parameter</p>
- *@param hash The Hashtable to use
- */
- public OnTBTClientState(Hashtable hash) {
- super(hash);
- }
- /**
- * <p>Called to get the current state of TBT client</p>
- * @return {@linkplain TBTState} the current state of TBT client
- */
- public TBTState getState() {
- Object obj = parameters.get(Names.state);
- if (obj instanceof TBTState) {
- return (TBTState)obj;
- } else if(obj instanceof String) {
- TBTState theCode = null;
- try{
- theCode = TBTState.valueForString((String) obj);
- } catch (Exception e) {
- DebugTool.logError("Failed to parse " + getClass().getSimpleName() + "." + Names.state, e);
- }
- return theCode;
- }
- return null;
- }
- /**
- * <p>Called to set the current state of TBT client</p>
- * @param state current state of TBT client
- */
- public void setState( TBTState state ) {
- if (state != null) {
- parameters.put(Names.state, state );
- } else {
- parameters.remove(Names.state);
- }
- }
-} // end-class \ No newline at end of file