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

The volume of a client: a percentage of 0 to 100 and a mute flag. More...

Collaboration diagram for de.yaacc.snapcast.control.SnapcastVolume:
Collaboration graph

Public Member Functions

 SnapcastVolume (int percent, boolean muted)
 
int getPercent ()
 
boolean isMuted ()
 
SnapcastVolume withPercent (int newPercent)
 
SnapcastVolume withMuted (boolean newMuted)
 
boolean equals (Object other)
 
int hashCode ()
 
String toString ()
 

Detailed Description

The volume of a client: a percentage of 0 to 100 and a mute flag.

Immutable.

Constructor & Destructor Documentation

◆ SnapcastVolume()

de.yaacc.snapcast.control.SnapcastVolume.SnapcastVolume ( int percent,
boolean muted )
Parameters
percentclamped into 0..100

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