YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.SendspinPower Class Reference

The switch of Sendspin on the first page, like the one of the Snapcast client. More...

Collaboration diagram for de.yaacc.sendspin.SendspinPower:
Collaboration graph

Static Public Member Functions

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

Detailed Description

The switch of Sendspin on the first page, like the one of the Snapcast client.

It is offered while Sendspin is on in the settings, and the switch is the setting of the Sendspin services: the player and the listening server run only while it is on (and with their own settings), and while it is on the idle timer does not close the app. Searching and controlling need only the support switch. Pure: the caller writes the changes.

Member Function Documentation

◆ changesFor()

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

◆ isOn()

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

◆ offered()

static boolean de.yaacc.sendspin.SendspinPower.offered ( SendspinSettings.BooleanSource source)
static
Returns
true if the switch is shown: Sendspin is on in the settings
Here is the call graph for this function:

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