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

The switch of Snapcast on the first page, like the one of Sendspin (SendspinPower). More...

Collaboration diagram for de.yaacc.snapcast.SnapcastPower:
Collaboration graph

Static Public Member Functions

static boolean offered (SnapcastSettings.BooleanSource source)
 
static boolean isOn (SnapcastSettings.BooleanSource source)
 
static Map< String, Boolean > changesFor (boolean on)
 

Detailed Description

The switch of Snapcast on the first page, like the one of Sendspin (SendspinPower).

It is offered while the Snapcast support is on in the settings, and the switch is the setting of the Snapcast services: the server and the client of this phone run only while it is on (and with their own switches, see SnapcastSettings). Searching and playing to groups need only the support switch. Pure: the caller writes the changes.

Member Function Documentation

◆ changesFor()

static Map< String, Boolean > de.yaacc.snapcast.SnapcastPower.changesFor ( boolean on)
static
Returns
the settings to write when the switch is set to on

◆ isOn()

static boolean de.yaacc.snapcast.SnapcastPower.isOn ( SnapcastSettings.BooleanSource source)
static
Returns
true while the services are on
Here is the call graph for this function:

◆ offered()

static boolean de.yaacc.snapcast.SnapcastPower.offered ( SnapcastSettings.BooleanSource source)
static
Returns
true if the switch is shown: the Snapcast support is on in the settings
Here is the call graph for this function:

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