|
YAACC - UPNP Client and Server
|
Which client of a server's status is this phone's own (tasks 12.11 and 12C). More...

Static Public Member Functions | |
| static boolean | isOwn (String clientIdFromStatus, String ownId) |
| static boolean | cardOffersPower (SnapcastGroup group, String ownId) |
| Whether the card of a group has the power button: the own client is the group's first member (the member whose name titles a card of a group without a name of its own) or its only member. | |
| static boolean | isOwnOrLegacy (String clientIdFromStatus, SnapcastOwnIds ids) |
| static boolean | isLegacy (String clientIdFromStatus, SnapcastOwnIds ids) |
| static boolean | cardOffersPowerForIds (SnapcastGroup group, SnapcastOwnIds ids) |
As cardOffersPower(SnapcastGroup, String) for the current id and the legacy ids: the first member is the phone's. | |
Which client of a server's status is this phone's own (tasks 12.11 and 12C).
With ONE client id for every server (SnapcastClientIdentity), the app knows its own id without a session, so the entry of the phone is recognised on every server, connected or offline (a ghost of this install). The id is the only thing that counts: names and host names are the server's text and can be anything. Pure.
What the recognition is used for: the label "This phone" in the member rows, the power button on the card whose first member is the own client (the one that titles the card), and the removal rule of an offline entry (never while a session runs).
|
static |
Whether the card of a group has the power button: the own client is the group's first member (the member whose name titles a card of a group without a name of its own) or its only member.
Any other group, a missing group or an unknown own id: no button.

|
static |
|
static |
Referenced by de.yaacc.snapcast.ui.SnapcastOwnClient.cardOffersPower().

|
static |
Referenced by de.yaacc.snapcast.ui.SnapcastOwnClient.cardOffersPowerForIds().

