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

What the display screen of this phone shows at one moment (task 11.5): taken from the display roles of a server's connection. More...

Collaboration diagram for de.yaacc.sendspin.player.DisplaySnapshot:
Collaboration graph

Public Member Functions

boolean showsContent ()
 True if there is text or a cover to show (and not only colours).
 
boolean isEmpty ()
 True if the server shows nothing on this display (no text, image or colour yet).
 

Public Attributes

final String title
 
final String artist
 
final String album
 
final long positionMs
 Milliseconds into the track, or -1 if the server reports none.
 
final long durationMs
 Milliseconds, 0 if unknown or unlimited, -1 if there is no progress.
 
final boolean playing
 
final byte[] artwork
 
final long artworkVersion
 
final ControllerMessages.Color color
 The colours of the color role, or null.
 
final String serverName
 

Detailed Description

What the display screen of this phone shows at one moment (task 11.5): taken from the display roles of a server's connection.

An immutable copy, so the screen reads it without a lock; a screen compares artworkVersion to decode the image only when it changed.


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