Package 

Class ApplicationLifecycleHandlerBase

    • Method Summary

      Modifier and Type Method Description
      Unit onFocus(Boolean firedOnSubscribe) Called when the application is brought into the foreground.
      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
    • Constructor Detail

      • ApplicationLifecycleHandlerBase

        ApplicationLifecycleHandlerBase()
    • Method Detail

      • onFocus

         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

         Unit onUnfocused()

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