-//
-// Copyright (c) 2013 Ford Motor Company
-//
-package com.smartdevicelink.proxy;
-
-import java.util.Vector;
-
-import com.smartdevicelink.exception.SmartDeviceLinkException;
-import com.smartdevicelink.exception.SmartDeviceLinkExceptionCause;
-import com.smartdevicelink.proxy.rpc.SyncMsgVersion;
-import com.smartdevicelink.proxy.rpc.enums.Language;
-import com.smartdevicelink.trace.SyncTrace;
-
-public class SmartDeviceLinkProxy extends SmartDeviceLinkProxyBase<IProxyListener> {
-
- private static final String SMARTDEVICELINK_LIB_TRACE_KEY = "42baba60-eb57-11df-98cf-0800200c9a66";
- private static final String SMARTDEVICELINK_LIB_PRIVATE_TOKEN = "{DAE1A88C-6C16-4768-ACA5-6F1247EA01C2}";
-
- /**
- * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SmartDeviceLink.
- *
- * @param listener - Reference to the object in the App listening to callbacks from SmartDeviceLink.
- * @throws SmartDeviceLinkException
- */
- public SmartDeviceLinkProxy(IProxyListener listener) throws SmartDeviceLinkException {
- super( listener,
- /*application context*/null,
- /*enable advanced lifecycle management*/false,
- /*app name*/ null,
- /*ngn media screen app name*/null,
- /*vr synonyms*/null,
- /*is media app*/ null,
- /*SyncMsgVersion*/null,
- /*language desired*/null,
- /*autoActivateID*/null,
- /*callbackToUIThread*/ true);
-
- SyncTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener.", SMARTDEVICELINK_LIB_TRACE_KEY);
- }
-
- /**
- * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SmartDeviceLink.
- *
- * @param listener - Reference to the object in the App listening to callbacks from SmartDeviceLink.
- * @param applicationContext - Context of the application. Used to access application specific resources.
- * @throws SmartDeviceLinkException
- */
- public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources SmartDeviceLinkProxyConfigurationResources)
- throws SmartDeviceLinkException {
- super( listener,
- SmartDeviceLinkProxyConfigurationResources,
- /*enable advanced lifecycle management*/false,
- /*app name*/ null,
- /*ngn media screen app name*/null,
- /*vr synonyms*/null,
- /*is media app*/ null,
- /*SyncMsgVersion*/null,
- /*language desired*/null,
- /*autoActivateID*/null,
- /*callbackToUIThread*/ true);
-
- SyncTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, SmartDeviceLinkProxyConfigurationResources.", SMARTDEVICELINK_LIB_TRACE_KEY);
- }
-
- /**
- * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SmartDeviceLink.
- *
- * @param listener - Reference to the object in the App listening to callbacks from SmartDeviceLink.
- * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.
- * @throws SmartDeviceLinkException
- */
- public SmartDeviceLinkProxy(IProxyListener listener, boolean callbackToUIThread) throws SmartDeviceLinkException {
- super( listener,
- /*SmartDeviceLink proxy configuration resources*/null,
- /*enable advanced lifecycle management*/false,
- /*app name*/ null,
- /*ngn media screen app name*/null,
- /*vr synonyms*/null,
- /*is media app*/ null,
- /*SyncMsgVersion*/null,
- /*language desired*/null,
- /*autoActivateID*/null,
- callbackToUIThread);
-
- SyncTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);
- }
-
- /**
- * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SmartDeviceLink.
- *
- * @param listener - Reference to the object in the App listening to callbacks from SmartDeviceLink.
- * @param applicationContext - Context of the application. Used to access application specific resources.
- * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.
- * @throws SmartDeviceLinkException
- */
- public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources SmartDeviceLinkProxyConfigurationResources,
- boolean callbackToUIThread) throws SmartDeviceLinkException {
- super( listener,
- SmartDeviceLinkProxyConfigurationResources,
- /*enable advanced lifecycle management*/false,
- /*app name*/ null,
- /*ngn media screen app name*/null,
- /*vr synonyms*/null,
- /*is media app*/ null,
- /*SyncMsgVersion*/null,
- /*language desired*/null,
- /*autoActivateID*/null,
- callbackToUIThread);
-
- SyncTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);
- }
-
-
-
-
- /******************** Public Helper Methods *************************/
-
-
- /**
- * Sends a RegisterAppInterface RPCRequest to SmartDeviceLink. Responses are captured through callback on IProxyListener.
- *
- * @param SyncMsgVersion
- * @param appName
- * @param ngnMediaScreenAppName
- * @param vrSynonyms
- * @param isMediaApp
- * @param languageDesired
- * @param autoActivateID
- * @param correlationID
- *
- * @throws SmartDeviceLinkException
- */
- public void registerAppInterface(
- SyncMsgVersion SyncMsgVersion, String appName, String ngnMediaScreenAppName,
- Vector<String> vrSynonyms, Boolean isMediaApp, Language languageDesired,
- String autoActivateID, Integer correlationID)
- throws SmartDeviceLinkException {
-
- // Test if proxy has been disposed
- if (_proxyDisposed) {
- throw new SmartDeviceLinkException("This SmartDeviceLinkProxy object has been disposed, it is no long capable of sending requests.", SmartDeviceLinkExceptionCause.SMARTDEVICELINK_PROXY_DISPOSED);
- }
-
- registerAppInterfacePrivate(
- SyncMsgVersion,
- appName,
- ngnMediaScreenAppName,
- vrSynonyms,
- isMediaApp,
- languageDesired,
- autoActivateID,
- correlationID);
- }
-
- /**
- * Sends a RegisterAppInterface RPCRequest to SmartDeviceLink. Responses are captured through callback on IProxyListener.
- *
- * @param appName
- * @param isMediaApp
- * @param autoActivateID
- * @throws SmartDeviceLinkException
- */
- public void registerAppInterface(
- String appName, Boolean isMediaApp, String autoActivateID, Integer correlationID)
- throws SmartDeviceLinkException {
-
- registerAppInterface(
- /*SyncMsgVersion*/null,
- appName,
- /*ngnMediaScreenAppName*/null,
- /*vrSynonyms*/null,
- isMediaApp,
- /*languageDesired*/null,
- autoActivateID,
- correlationID);
- }
-
- /**
- * Sends a RegisterAppInterface RPCRequest to SmartDeviceLink. Responses are captured through callback on IProxyListener.
- *
- * @param appName
- * @throws SmartDeviceLinkException
- */
- public void registerAppInterface(String appName, Integer correlationID)
- throws SmartDeviceLinkException {
-
- registerAppInterface(appName, false, "", correlationID);
- }
-
- /**
- * Sends an UnregisterAppInterface RPCRequest to SmartDeviceLink. Responses are captured through callback on IProxyListener.
- *
- * @param correlationID
- * @throws SmartDeviceLinkException
- */
- public void unregisterAppInterface(Integer correlationID)
- throws SmartDeviceLinkException {
- // Test if proxy has been disposed
- if (_proxyDisposed) {
- throw new SmartDeviceLinkException("This SmartDeviceLinkProxy object has been disposed, it is no long capable of executing methods.",
- SmartDeviceLinkExceptionCause.SMARTDEVICELINK_PROXY_DISPOSED);
- }
-
- unregisterAppInterfacePrivate(correlationID);
- }
-
- /**
- * Returns is isConnected state of the SmartDeviceLink transport.
- *
- * @return Boolean isConnected
- */
- public Boolean getIsConnected() {
- return super.getIsConnected();
- }
-}
+package com.smartdevicelink.proxy;\r
+\r
+import java.util.Vector;\r
+\r
+import com.smartdevicelink.exception.SmartDeviceLinkException;\r
+import com.smartdevicelink.exception.SmartDeviceLinkExceptionCause;\r
+import com.smartdevicelink.proxy.rpc.smartdevicelinkMsgVersion;\r
+import com.smartdevicelink.proxy.rpc.enums.Language;\r
+import com.smartdevicelink.trace.SmartDeviceLinkTrace;\r
+import com.smartdevicelink.transport.BTTransportConfig;\r
+import com.smartdevicelink.transport.BaseTransportConfig;\r
+import com.smartdevicelink.transport.TransportType;\r
+@Deprecated\r
+public class SmartDeviceLinkProxy extends SmartDeviceLinkProxyBase<IProxyListener> {\r
+ \r
+ private static final String SMARTDEVICELINK_LIB_TRACE_KEY = "42baba60-eb57-11df-98cf-0800200c9a66";\r
+ private static final String SMARTDEVICELINK_LIB_PRIVATE_TOKEN = "{DAE1A88C-6C16-4768-ACA5-6F1247EA01C2}";\r
+\r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK. \r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK. \r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ /*application context*/null, \r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ /*callbackToUIThread*/ true,\r
+ new BTTransportConfig());\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK. \r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK. \r
+ * @param smartDeviceLinkProxyConfigurationResources\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources smartDeviceLinkProxyConfigurationResources) \r
+ throws SmartDeviceLinkException {\r
+ super( listener, \r
+ smartDeviceLinkProxyConfigurationResources, \r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ /*callbackToUIThread*/ true,\r
+ new BTTransportConfig());\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, SmartDeviceLinkProxyConfigurationResources.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK.\r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK. \r
+ * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, boolean callbackToUIThread) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ /*smartDeviceLink proxy configuration resources*/null,\r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ callbackToUIThread,\r
+ new BTTransportConfig());\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK.\r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK.\r
+ * @param smartDeviceLinkProxyConfigurationResources \r
+ * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources smartDeviceLinkProxyConfigurationResources, \r
+ boolean callbackToUIThread) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ smartDeviceLinkProxyConfigurationResources,\r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ callbackToUIThread,\r
+ new BTTransportConfig());\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /********************************************** TRANSPORT SWITCHING SUPPORT *****************************************/\r
+\r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK. \r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK.\r
+ * @param transportConfig Initial configuration for transport.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, BaseTransportConfig transportConfig) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ /*application context*/null, \r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ /*callbackToUIThread*/ true,\r
+ transportConfig);\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK. \r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK. \r
+ * @param smartDeviceLinkProxyConfigurationResources\r
+ * @param transportConfig Initial configuration for transport.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources smartDeviceLinkProxyConfigurationResources, \r
+ BaseTransportConfig transportConfig) \r
+ throws SmartDeviceLinkException {\r
+ super( listener, \r
+ smartDeviceLinkProxyConfigurationResources, \r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ /*callbackToUIThread*/ true,\r
+ transportConfig);\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, SmartDeviceLinkProxyConfigurationResources.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK.\r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK. \r
+ * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.\r
+ * @param transportConfig Initial configuration for transport.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, boolean callbackToUIThread, BaseTransportConfig transportConfig) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ /*smartDeviceLink proxy configuration resources*/null,\r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ callbackToUIThread,\r
+ transportConfig);\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /**\r
+ * Constructor for the SmartDeviceLinkProxy object, the proxy for communicating between the App and SMARTDEVICELINK.\r
+ * \r
+ * @param listener - Reference to the object in the App listening to callbacks from SMARTDEVICELINK.\r
+ * @param smartDeviceLinkProxyConfigurationResources \r
+ * @param callbackToUIThread - If true, all callbacks will occur on the UI thread.\r
+ * @param transportConfig Initial configuration for transport.\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public SmartDeviceLinkProxy(IProxyListener listener, SmartDeviceLinkProxyConfigurationResources smartDeviceLinkProxyConfigurationResources, \r
+ boolean callbackToUIThread, BaseTransportConfig transportConfig) throws SmartDeviceLinkException {\r
+ super( listener, \r
+ smartDeviceLinkProxyConfigurationResources,\r
+ /*enable advanced lifecycle management*/false, \r
+ /*app name*/ null,\r
+ /*TTS Name*/null,\r
+ /*ngn media screen app name*/null,\r
+ /*vr synonyms*/null,\r
+ /*is media app*/ null,\r
+ /*smartDeviceLinkMsgVersion*/null,\r
+ /*language desired*/null,\r
+ /*HMI Display Language Desired*/null,\r
+ /*App Type*/null,\r
+ /*App ID*/null,\r
+ /*autoActivateID*/null,\r
+ callbackToUIThread,\r
+ transportConfig);\r
+ \r
+ SmartDeviceLinkTrace.logProxyEvent("Application constructed SmartDeviceLinkProxy instance passing in: IProxyListener, callBackToUIThread.", SMARTDEVICELINK_LIB_TRACE_KEY);\r
+ }\r
+ \r
+ /******************** Public Helper Methods *************************/\r
+ \r
+ \r
+ /**\r
+ * Sends a RegisterAppInterface RPCRequest to SMARTDEVICELINK. Responses are captured through callback on IProxyListener.\r
+ * \r
+ * @param smartDeviceLinkMsgVersion\r
+ * @param appName\r
+ * @param ngnMediaScreenAppName\r
+ * @param vrSynonyms\r
+ * @param isMediaApp\r
+ * @param languageDesired\r
+ * @param autoActivateID\r
+ * @param correlationID\r
+ * \r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public void registerAppInterface(\r
+ smartdevicelinkMsgVersion smartDeviceLinkMsgVersion, String appName, String ngnMediaScreenAppName,\r
+ Vector<String> vrSynonyms, Boolean isMediaApp, Language languageDesired, Language hmiDisplayLanguageDesired,\r
+ String appID, String autoActivateID, Integer correlationID) \r
+ throws SmartDeviceLinkException {\r
+ \r
+ // Test if proxy has been disposed\r
+ if (_proxyDisposed) {\r
+ throw new SmartDeviceLinkException("This SmartDeviceLinkProxy object has been disposed, it is no long capable of sending requests.", SmartDeviceLinkExceptionCause.SMARTDEVICELINK_PROXY_DISPOSED);\r
+ }\r
+ \r
+ registerAppInterfacePrivate(\r
+ smartDeviceLinkMsgVersion, \r
+ appName,\r
+ null,\r
+ ngnMediaScreenAppName,\r
+ vrSynonyms,\r
+ isMediaApp, \r
+ languageDesired,\r
+ hmiDisplayLanguageDesired,\r
+ null,\r
+ appID,\r
+ autoActivateID,\r
+ correlationID);\r
+ }\r
+ \r
+ /**\r
+ * Sends a RegisterAppInterface RPCRequest to SMARTDEVICELINK. Responses are captured through callback on IProxyListener.\r
+ * \r
+ * @param appName\r
+ * @param isMediaApp\r
+ * @param autoActivateID\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public void registerAppInterface(\r
+ String appName, Boolean isMediaApp, String appID, String autoActivateID, Integer correlationID) \r
+ throws SmartDeviceLinkException {\r
+ \r
+ registerAppInterface(\r
+ /*smartDeviceLinkMsgVersion*/null, \r
+ appName,\r
+ /*ngnMediaScreenAppName*/null,\r
+ /*vrSynonyms*/null,\r
+ isMediaApp, \r
+ /*languageDesired*/null,\r
+ /*hmiDisplayLanguageDesired*/null,\r
+ appID,\r
+ autoActivateID,\r
+ correlationID);\r
+ }\r
+ \r
+ /**\r
+ * Sends a RegisterAppInterface RPCRequest to SMARTDEVICELINK. Responses are captured through callback on IProxyListener.\r
+ * \r
+ * @param appName\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public void registerAppInterface(String appName, String appID, Integer correlationID) \r
+ throws SmartDeviceLinkException {\r
+ \r
+ registerAppInterface(appName, false, appID, "", correlationID);\r
+ }\r
+ \r
+ /**\r
+ * Sends an UnregisterAppInterface RPCRequest to SMARTDEVICELINK. Responses are captured through callback on IProxyListener.\r
+ * \r
+ * @param correlationID\r
+ * @throws SmartDeviceLinkException\r
+ */\r
+ @Deprecated\r
+ public void unregisterAppInterface(Integer correlationID) \r
+ throws SmartDeviceLinkException { \r
+ // Test if proxy has been disposed\r
+ if (_proxyDisposed) {\r
+ throw new SmartDeviceLinkException("This SmartDeviceLinkProxy object has been disposed, it is no long capable of executing methods.", \r
+ SmartDeviceLinkExceptionCause.SMARTDEVICELINK_PROXY_DISPOSED);\r
+ } \r
+ \r
+ unregisterAppInterfacePrivate(correlationID);\r
+ }\r
+ \r
+ /**\r
+ * Returns is isConnected state of the SMARTDEVICELINK transport.\r
+ * \r
+ * @return Boolean isConnected\r
+ */\r
+ @Deprecated\r
+ public Boolean getIsConnected() {\r
+ return super.getIsConnected();\r
+ }\r
+\r
+}\r