|
YAACC - UPNP Client and Server
|
The members of a group as rows of the group sheet: name, connected flag, volume, mute and latency. More...

Classes | |
| class | Member |
| One member row. | |
| interface | Words |
| The one localized word. More... | |
Static Public Member Functions | |
| static List< Member > | of (SnapcastGroup group, Words words) |
| static List< Member > | of (SnapcastGroup group, Words words, String ownClientId) |
| static List< Member > | ofIds (SnapcastGroup group, Words words, SnapcastOwnIds ids) |
As of(SnapcastGroup, Words, String) for the current id and the legacy ids of this install (task 12.19): a member with a legacy id is marked as the phone's own and as an old entry (Member#isLegacy). | |
| static boolean | canRemove (SnapcastGroup group) |
A member can leave the group unless it is the last one: Group.SetClients with an empty list would dissolve the group, and the library refuses it. | |
Static Public Attributes | |
| static final int | MAX_NAME = 64 |
| The longest member name shown. | |
The members of a group as rows of the group sheet: name, connected flag, volume, mute and latency.
Pure.
Names. The name of a member is the name set for it, else its host name, else a generic label (never its id, which is a MAC address); it is display text and goes through SnapcastDisplayText. Members with the same name are told apart by a number ("Speaker", "Speaker (2)").
Order. By name (ignoring case), then by id. Neither the volume nor the connection state is part of the order, so a row does not jump under the finger when a client reconnects or its volume changes. The client id decides ties and is never shown.
|
static |
Referenced by de.yaacc.snapcast.ui.SnapcastMemberRows.of().


|
static |
| ownClientId | the app's own client id (task 12.11), null when it has none yet; the member with that id is marked (Member#isOwn). The order and the names do not depend on it. |
