|
YAACC - UPNP Client and Server
|
The renderer's RenderingControl service: volume and mute of the music stream of the device, one instance (0) with one channel (Master).
More...


Public Member Functions | |
| YaaccAudioRenderingControlService (Context context) | |
| PropertyChangeSupport | getPropertyChangeSupport () |
| The subscriptions listen here; it tells this service when the first one comes and the last one goes. | |
| boolean | getMute (UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException |
| UnsignedIntegerTwoBytes | getVolume (UnsignedIntegerFourBytes instanceId, String channelName) throws RenderingControlException |
| void | setMute (UnsignedIntegerFourBytes instanceId, String channelName, boolean desiredMute) throws RenderingControlException |
| void | setVolume (UnsignedIntegerFourBytes instanceId, String channelName, UnsignedIntegerTwoBytes desiredVolume) throws RenderingControlException |
| UnsignedIntegerFourBytes[] | getCurrentInstanceIds () |
Public Member Functions inherited from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl | |
| LastChange | getLastChange () |
| void | appendCurrentState (LastChange lc, UnsignedIntegerFourBytes instanceId) throws Exception |
| String | listPresets (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId) throws RenderingControlException |
| void | selectPreset (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="PresetName") String presetName) throws RenderingControlException |
| abstract boolean | getMute (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName) throws RenderingControlException |
| abstract void | setMute (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName, @UpnpInputArgument(name="DesiredMute", stateVariable="Mute") boolean desiredMute) throws RenderingControlException |
| abstract UnsignedIntegerTwoBytes | getVolume (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName) throws RenderingControlException |
| abstract void | setVolume (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName, @UpnpInputArgument(name="DesiredVolume", stateVariable="Volume") UnsignedIntegerTwoBytes desiredVolume) throws RenderingControlException |
| Integer | getVolumeDB (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName) throws RenderingControlException |
| void | setVolumeDB (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName, @UpnpInputArgument(name="DesiredVolume", stateVariable="VolumeDB") Integer desiredVolumeDB) throws RenderingControlException |
| VolumeDBRange | getVolumeDBRange (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName) throws RenderingControlException |
| boolean | getLoudness (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName) throws RenderingControlException |
| void | setLoudness (@UpnpInputArgument(name="InstanceID") UnsignedIntegerFourBytes instanceId, @UpnpInputArgument(name="Channel") String channelName, @UpnpInputArgument(name="DesiredLoudness", stateVariable="Loudness") boolean desiredLoudness) throws RenderingControlException |
Public Member Functions inherited from org.fourthline.cling.support.lastchange.LastChangeDelegator | |
Protected Member Functions | |
| Channel[] | getCurrentChannels () |
Protected Member Functions inherited from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl | |
| AbstractAudioRenderingControl (LastChange lastChange) | |
| AbstractAudioRenderingControl (PropertyChangeSupport propertyChangeSupport) | |
| AbstractAudioRenderingControl (PropertyChangeSupport propertyChangeSupport, LastChange lastChange) | |
| Channel | getChannel (String channelName) throws RenderingControlException |
Additional Inherited Members | |
Static Public Member Functions inherited from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl | |
| static UnsignedIntegerFourBytes | getDefaultInstanceID () |
Protected Attributes inherited from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl | |
| final PropertyChangeSupport | propertyChangeSupport |
The renderer's RenderingControl service: volume and mute of the music stream of the device, one instance (0) with one channel (Master).
The value is not stored here, it is the system's: SystemVolume.
Events. Volume and mute are reported in the service's LastChange. A change is put into it by SetVolume/SetMute (and any change through SystemVolume, e.g. the app's volume controls) and by onSystemVolumeChanged(), which the system's volume broadcast calls (hardware keys, the system's panel). The sending is the service manager's job (RenderingControlServiceManager). The broadcast is only watched while a control point is subscribed.
|
protected |
Reimplemented from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl.
| UnsignedIntegerFourBytes[] de.yaacc.upnp.server.renderingcontrol.YaaccAudioRenderingControlService.getCurrentInstanceIds | ( | ) |
| PropertyChangeSupport de.yaacc.upnp.server.renderingcontrol.YaaccAudioRenderingControlService.getPropertyChangeSupport | ( | ) |
The subscriptions listen here; it tells this service when the first one comes and the last one goes.
Reimplemented from org.fourthline.cling.support.renderingcontrol.AbstractAudioRenderingControl.