1 package com.smartdevicelink.proxy.interfaces;
\r
3 public interface IProxyListenerALM extends IProxyListenerBase {
\r
4 // Adds Advanced Life-cycle Management call-backs to the IProxyListenerAbstract interface
\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
10 //public void onOnHMIStatus(OnHMIStatus notification);
\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
17 //public void onProxyClosed(String info, Exception e);
\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
23 * @param info - Any info present about the error that occurred.
\r
24 * @param e - Any exception thrown by the error.
\r
26 //public void onError(String info, Exception e);
\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
32 * @param isFirstAvailability - Indicates this is the first onSmartDeviceLinkInterfaceAvailable in this lifecycle.
\r
34 // HMI (Background, Limited, Full) from Unavailable = onSmartDeviceLinkInterfaceAvailable(Boolean isFirstAvailability);
\r
37 * **Deprecated** - onSmartDeviceLinkInterfaceUnavailable() being called indicates that the proxy does NOT have access to SMARTDEVICELINK's HIM.
\r
39 // HMI None onSmartDeviceLinkInterfaceUnavailable();
\r
42 * **Deprecated** - ALM HMI states converted back to HMI Levels
\r
44 * HMI Full = onSmartDeviceLinkInFocus(Boolean isFirstSmartDeviceLinkInFocus);
\r
45 * HMI Limited = onSmartDeviceLinkInFocusLimited();
\r
46 * HMI Background = onSmartDeviceLinkLostFocus();
\r