YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.browser.ReceiverLiveUpdates.Sources Interface Reference

The subscriptions and the clock; forApp is the real one. More...

Collaboration diagram for de.yaacc.browser.ReceiverLiveUpdates.Sources:
Collaboration graph

Public Member Functions

void subscribeStatus (RendererStatusMonitor.StatusListener listener)
 Subscribes with the receivers known now; the same listener again adds the receivers that came meanwhile.
 
void unsubscribeStatus (RendererStatusMonitor.StatusListener listener)
 
void startGroupFeed (Consumer< String > onChanged)
 Starts the group feed with the receivers known now; when it runs already, gives it the current receivers.
 
void stopGroupFeed ()
 
void addPlayerListener (PlayerListChangeNotifier.Listener listener)
 
void removePlayerListener (PlayerListChangeNotifier.Listener listener)
 
void postDelayed (Runnable runnable, long delayMillis)
 
void removeCallbacks (Runnable runnable)
 
default void startSnapcast (Runnable onChanged)
 Starts following the Snapcast groups (their servers' control connections are opened for as long as it runs); onChanged is told, on the main thread and coalesced, when the groups changed.
 
default void startFCast (Runnable onChanged)
 Starts following the FCast receivers (the discovery runs for as long as it does); onChanged is told, on the main thread and coalesced, when the receivers changed.
 
default void stopFCast ()
 Stops following the FCast receivers.
 
default void startSendspin (Runnable onChanged)
 Starts following the Sendspin players (the search runs for as long as it does); onChanged is told, on the main thread and coalesced, when the players changed.
 
default void stopSendspin ()
 Stops following the Sendspin players.
 
default void stopSnapcast ()
 Stops following the Snapcast groups.
 

Detailed Description

The subscriptions and the clock; forApp is the real one.

Member Function Documentation

◆ startFCast()

default void de.yaacc.browser.ReceiverLiveUpdates.Sources.startFCast ( Runnable onChanged)

Starts following the FCast receivers (the discovery runs for as long as it does); onChanged is told, on the main thread and coalesced, when the receivers changed.

Nothing by default.

◆ startSendspin()

default void de.yaacc.browser.ReceiverLiveUpdates.Sources.startSendspin ( Runnable onChanged)

Starts following the Sendspin players (the search runs for as long as it does); onChanged is told, on the main thread and coalesced, when the players changed.

Nothing by default.

◆ startSnapcast()

default void de.yaacc.browser.ReceiverLiveUpdates.Sources.startSnapcast ( Runnable onChanged)

Starts following the Snapcast groups (their servers' control connections are opened for as long as it runs); onChanged is told, on the main thread and coalesced, when the groups changed.

Nothing by default.


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