YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.fcast.FCastRowText Class Reference

The text of the card of an FCast receiver (task 5.2): the type "FCast", the address, the state (not reachable, idle, playing, paused, with the title of what is played) and the volume. More...

Collaboration diagram for de.yaacc.fcast.FCastRowText:
Collaboration graph

Classes

class  Facts
 The facts of one receiver at one moment.
 
class  Row
 What the card shows.
 
enum  Source
 Where the state comes from. More...
 
enum  State
 What the receiver is doing, as far as it is known. More...
 
interface  Words
 The words of the card. More...
 

Static Public Member Functions

static Row of (Facts facts, Words words)
 

Detailed Description

The text of the card of an FCast receiver (task 5.2): the type "FCast", the address, the state (not reachable, idle, playing, paused, with the title of what is played) and the volume.

Pure; the app fills Words from its string resources.

An idle card has no connection (D11): with no player and no open session nothing is known about the receiver's state, and the card shows only the type and the address. The state comes from the player of the receiver if there is one, else from the session that a screen has open (the sheet, a volume change), else it is unknown. Everything that came from the receiver (the title) is cleaned and cut again here, and is shown with a plain setText.


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