public class SuccessFrameDebouncer
Allows to keep track of the interval between successful events
public SuccessFrameDebouncer(long interval)
Allows to keep track of the interval between successful events
public SuccessFrameDebouncer()
Allows to keep track of the interval between successful events
public void activate()
shouldSkip will return false until the interval will pass starting from the current moment
shouldSkippublic boolean shouldSkip()
Returns if currently all the events should be skipped
public void reset()
Resets the current state of the class SuccessFrameDebouncer
class SuccessFrameDebouncerpublic long getInterval()
public void setInterval(long p)