Interface TriggerHandler

All Known Implementing Classes:
StatefulWindowManager, WindowManager

public interface TriggerHandler
The callback fired by TriggerPolicy when the trigger condition is satisfied.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The code to execute when the TriggerPolicy condition is satisfied.
  • Method Details

    • onTrigger

      boolean onTrigger()
      The code to execute when the TriggerPolicy condition is satisfied.
      Returns:
      true if the window was evaluated with at least one event in the window, false otherwise