Package 

Interface IApplicationLifecycleHandler

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onFocus(Boolean firedOnSubscribe) Called when the application is brought into the foreground.
      abstract Unit onUnfocused() Called when the application has been brought out of the foreground, to the background.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFocus

         abstract Unit onFocus(Boolean firedOnSubscribe)

        Called when the application is brought into the foreground. This callback can be fired immediately on subscribing to the IApplicationService (when the IApplicationService itself is started too late to capture the application's early lifecycle events), or through natural application lifecycle callbacks.

        Parameters:
        firedOnSubscribe - Method is fired from subscribing or from application lifecycle callbacks
      • onUnfocused

         abstract Unit onUnfocused()

        Called when the application has been brought out of the foreground, to the background.