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...
|
|
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).
|
| |
|
|
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 |
| |
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:
- /github/workspace/yaacc/src/main/java/de/yaacc/sendspin/player/DisplaySnapshot.java