YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcSettingsWriter Class Reference

Applies one change of the settings sheet to the device, after checking it against what the device offers: the devices validate very little themselves (see docs/tech.md), so a value that is not one of the offered choices is refused here, before anything is sent. More...

Collaboration diagram for de.yaacc.yxc.YxcSettingsWriter:
Collaboration graph

Public Member Functions

 YxcSettingsWriter (YxcClient client, String zone)
 
void setPower (List< YxcSettings.Item > items, boolean on) throws YxcException
 Switches the power on or to standby.
 
void setInput (List< YxcSettings.Item > items, String input) throws YxcException
 Selects an input; the value must be one the device lists (never the group input).
 
void setSoundProgram (List< YxcSettings.Item > items, String program) throws YxcException
 
void setSleep (List< YxcSettings.Item > items, int minutes) throws YxcException
 
void setEqualizerMode (List< YxcSettings.Item > items, String mode) throws YxcException
 
void setEqualizerBand (List< YxcSettings.Item > items, YxcSettings.Id band, int value) throws YxcException
 Sets one band.
 
void setLinkControl (List< YxcSettings.Item > items, String value) throws YxcException
 
void setLinkAudioDelay (List< YxcSettings.Item > items, String value) throws YxcException
 
void setLinkAudioQuality (List< YxcSettings.Item > items, String value) throws YxcException
 
void setDimmer (List< YxcSettings.Item > items, int value) throws YxcException
 Sets the display brightness; the value must be inside the range the device reports and a step from its minimum.
 
void setAutoPowerStandby (List< YxcSettings.Item > items, boolean enabled) throws YxcException
 

Detailed Description

Applies one change of the settings sheet to the device, after checking it against what the device offers: the devices validate very little themselves (see docs/tech.md), so a value that is not one of the offered choices is refused here, before anything is sent.

Member Function Documentation

◆ setEqualizerBand()

void de.yaacc.yxc.YxcSettingsWriter.setEqualizerBand ( List< YxcSettings.Item > items,
YxcSettings.Id band,
int value ) throws YxcException

Sets one band.

The value must be inside the range the device reports and a step from its minimum, and the band can be changed now (the manual mode).

Parameters
bandEQUALIZER_LOW, EQUALIZER_MID or EQUALIZER_HIGH
Here is the call graph for this function:

◆ setSleep()

void de.yaacc.yxc.YxcSettingsWriter.setSleep ( List< YxcSettings.Item > items,
int minutes ) throws YxcException
Parameters
minutesone of YxcSettings#sleepMinutes()
Here is the call graph for this function:

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