YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.snapcast.ui.SnapcastToastGate Class Reference

Lets at most one message through per gap. More...

Collaboration diagram for de.yaacc.snapcast.ui.SnapcastToastGate:
Collaboration graph

Public Member Functions

 SnapcastToastGate (MonotonicClock clock, long gapMillis)
 
synchronized boolean allow ()
 

Detailed Description

Lets at most one message through per gap.

A slider that is dragged against a server that does not answer makes one failure per coalesced value; the user needs to hear of it once, not twenty times. Thread safe.

Member Function Documentation

◆ allow()

synchronized boolean de.yaacc.snapcast.ui.SnapcastToastGate.allow ( )
Returns
true if a message may be shown now (and counts as shown)

The documentation for this class was generated from the following file: