SDL_Android/SmartDeviceLinkAndroidProxy - added the correct version of the proxy
[profile/ivi/smartdevicelink.git] / SDL_Android / SmartDeviceLinkProxyAndroid / src / com / smartdevicelink / proxy / interfaces / IProxyListenerALM.java
1 package com.smartdevicelink.proxy.interfaces;\r
2 \r
3 public interface IProxyListenerALM extends IProxyListenerBase {\r
4         // Adds Advanced Life-cycle Management call-backs to the IProxyListenerAbstract interface\r
5         \r
6         /**\r
7          * **MOVED TO IProxyListenerBase** - onOnHMIStatus() being called indicates that the proxy has entered a state in which the \r
8          * application may create SMARTDEVICELINK related resources (addCommands, ChoiceSets). \r
9          */\r
10         //public void onOnHMIStatus(OnHMIStatus notification);\r
11         \r
12         /**\r
13          * **MOVED TO IProxyListenerBase** - onProxyClosed() being called indicates that the app is no longer registered with SMARTDEVICELINK\r
14          * All resources on SMARTDEVICELINK (addCommands and ChoiceSets) have been deleted and will have to be\r
15          * recreated upon the next onReadyForInitialization() call-back. \r
16          */\r
17         //public void onProxyClosed(String info, Exception e);\r
18         \r
19         /**\r
20          * **MOVED TO IProxyListenerBase** - onError() being called indicates that the proxy has experienced an unrecoverable error.\r
21          * A new proxy object must be initiated to reestablish connection with SMARTDEVICELINK.\r
22          * \r
23          * @param info - Any info present about the error that occurred.\r
24          * @param e - Any exception thrown by the error.\r
25          */\r
26         //public void onError(String info, Exception e);\r
27         \r
28         /**\r
29          * **Deprecated** - onSmartDeviceLinkInterfaceAvailable() being called indicates that the proxy now has access to SMARTDEVICELINK's HMI. \r
30          * Monitor the onFocusChange call-back to determine which level of HMI is available to the proxy.\r
31          * \r
32          * @param isFirstAvailability - Indicates this is the first onSmartDeviceLinkInterfaceAvailable in this lifecycle.\r
33          */\r
34         // HMI (Background, Limited, Full) from Unavailable  = onSmartDeviceLinkInterfaceAvailable(Boolean isFirstAvailability);\r
35 \r
36         /**\r
37          * **Deprecated** - onSmartDeviceLinkInterfaceUnavailable() being called indicates that the proxy does NOT have access to SMARTDEVICELINK's HIM.\r
38          */\r
39         // HMI None onSmartDeviceLinkInterfaceUnavailable();\r
40         \r
41         /**\r
42          * **Deprecated** - ALM HMI states converted back to HMI Levels\r
43          * \r
44          * HMI Full = onSmartDeviceLinkInFocus(Boolean isFirstSmartDeviceLinkInFocus);\r
45          * HMI Limited = onSmartDeviceLinkInFocusLimited();\r
46          * HMI Background = onSmartDeviceLinkLostFocus();\r
47          */\r
48 }\r