Interface POBAppStateMonitor.POBAppLifecycleListener

  • All Implemented Interfaces:

    
    public interface POBAppStateMonitor.POBAppLifecycleListener
    
                        

    Implement this interface to receive callbacks when the application moves to the foreground or background. Note that these callbacks will be executed on a background thread.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onAppMovedToForeground() This method is triggered when the app comes to the foreground from the background.
      abstract Unit onAppMovedToBackground() This method is triggered when the app goes to the background from the foreground.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • onAppMovedToForeground

         abstract Unit onAppMovedToForeground()

        This method is triggered when the app comes to the foreground from the background.

      • onAppMovedToBackground

         abstract Unit onAppMovedToBackground()

        This method is triggered when the app goes to the background from the foreground.