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

A group of clients that play one stream. More...

Collaboration diagram for de.yaacc.snapcast.control.SnapcastGroup:
Collaboration graph

Public Member Functions

 SnapcastGroup (String id, String name, boolean muted, String streamId, List< SnapcastClient > clients)
 
String getId ()
 
String getName ()
 The name set for the group; empty when none was set.
 
boolean isMuted ()
 
String getStreamId ()
 The id of the stream the group plays; empty when it has none.
 
List< SnapcastClient > getClients ()
 
SnapcastClient findClient (String clientId)
 
SnapcastGroup withName (String newName)
 
SnapcastGroup withMuted (boolean newMuted)
 
SnapcastGroup withStreamId (String newStreamId)
 
SnapcastGroup withClient (SnapcastClient client)
 Replaces the member with the id of client; this group if there is no such member.
 
boolean equals (Object other)
 
int hashCode ()
 
String toString ()
 

Detailed Description

A group of clients that play one stream.

The id is a UUID made by the server. Immutable.

Member Function Documentation

◆ findClient()

SnapcastClient de.yaacc.snapcast.control.SnapcastGroup.findClient ( String clientId)
Returns
the member with this id, or null

Referenced by de.yaacc.snapcast.control.SnapcastServerStatus.findClient().

Here is the caller graph for this function:

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