SuccessFrameDebouncer

class SuccessFrameDebouncer(var interval: Long = 0)

Allows to keep track of the interval between successful events

Constructors

Link copied to clipboard
constructor(interval: Long = 0)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun activate()

shouldSkip will return false until the interval will pass starting from the current moment

Link copied to clipboard
fun reset()

Resets the current state of the SuccessFrameDebouncer

Link copied to clipboard

Returns if currently all the events should be skipped