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

Answer of netusb/getPlayInfo: what the device plays from a network source by itself. More...

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

Public Member Functions

String getInput ()
 
String getPlayback ()
 
String getRepeat ()
 
String getShuffle ()
 
String getArtist ()
 
String getAlbum ()
 
String getTrack ()
 
String getAlbumArtUrl ()
 
Integer getTotalTime ()
 
Integer getPlayTime ()
 
Long getAttribute ()
 
List< String > getRepeatAvailable ()
 
List< String > getShuffleAvailable ()
 
boolean equals (Object o)
 
int hashCode ()
 

Detailed Description

Answer of netusb/getPlayInfo: what the device plays from a network source by itself.

The notes say the times are seconds; that was not confirmed: a stopped device reported a play time of -60000, so a negative value is not a time to show.

Member Function Documentation

◆ getAlbumArtUrl()

String de.yaacc.yxc.YxcPlayInfo.getAlbumArtUrl ( )
Returns
a path on the device, not a URL

◆ getAttribute()

Long de.yaacc.yxc.YxcPlayInfo.getAttribute ( )
Returns
the bit field the device sends as attribute (which controls the current source allows); the meaning of the bits is not known, null if absent

Referenced by de.yaacc.yxc.YxcSourceControls.available().

Here is the caller graph for this function:

◆ getInput()

String de.yaacc.yxc.YxcPlayInfo.getInput ( )
Returns
the id of the network input currently selected

Referenced by de.yaacc.yxc.YxcNowPlaying.describe().

Here is the caller graph for this function:

◆ getPlayback()

String de.yaacc.yxc.YxcPlayInfo.getPlayback ( )
Returns
play, pause, stop or another word the device uses

Referenced by de.yaacc.yxc.YxcNowPlaying.describe(), and de.yaacc.yxc.YxcDeviceState.getPlayback().

Here is the caller graph for this function:

◆ getRepeatAvailable()

List< String > de.yaacc.yxc.YxcPlayInfo.getRepeatAvailable ( )
Returns
the repeat words the current source accepts; empty when none or when the device does not report the list

Referenced by de.yaacc.yxc.YxcSourceControls.available(), and de.yaacc.yxc.YxcSourceControls.nextRepeat().

Here is the caller graph for this function:

◆ getShuffleAvailable()

List< String > de.yaacc.yxc.YxcPlayInfo.getShuffleAvailable ( )
Returns
the shuffle words the current source accepts; empty when none or when the device does not report the list

Referenced by de.yaacc.yxc.YxcSourceControls.available(), and de.yaacc.yxc.YxcSourceControls.nextShuffle().

Here is the caller graph for this function:

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