Interface SessionManagerDBus.IListener

Enclosing class:
SessionManagerDBus

public static interface SessionManagerDBus.IListener
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Are you ready to exit? Time limit imposed by session manager is 1 second.
    void
    Perform final cleanup here.
  • Method Details

    • isReadyToExit

      boolean isReadyToExit()
      Are you ready to exit? Time limit imposed by session manager is 1 second. Final cleanup should happen in stop().
      Returns:
      false to hint that you're not ready. Session manager can ignore the hint.
    • stop

      void stop()
      Perform final cleanup here. Please note that time limit imposed by session manager is 10 seconds.