Interface IHealthInformation


public interface IHealthInformation
Provide Health Information
Author:
I-D Media AG
  • Method Details

    • isSleeping

      boolean isSleeping()
      Check if module is sleeping. In this case, we will not evaluate the last health signal timestamp
      Returns:
    • updateHealthSignal

      void updateHealthSignal()
      Update last health signal with current timestamp
    • getTimePassedSinceLastHealthSignal

      long getTimePassedSinceLastHealthSignal()
      Get the time between now and the last health signal in milliseconds
      Returns:
    • getTimeOfLastHealthSignal

      long getTimeOfLastHealthSignal()
      Get last health signal time in millis
      Returns:
    • setSleeping

      void setSleeping(boolean bSetSleeping)
      Set to sleep
      Parameters:
      bSetSleeping -