The text of a Sendspin player's card: the type, the player's name (cleaned: it came from the network), the address and the state in words.
More...
|
| static State | stateOf (HubConnection.Phase phase, HubConnection.EndReason reason, boolean playing, boolean paused) |
| |
|
static boolean | offersPairing (State state) |
| | True if a tap on the card should offer the entry of a pairing token.
|
| |
|
static boolean | offersTokenEntry (State state, boolean connectedWithId, boolean paired) |
| | True if the sheet of a player's card offers the entry of a pairing token: when the card asks for it, and also when a player is connected that accepts unpaired servers and is not paired yet, because the operator may pair it anyway (a pairing survives a change of that player's settings, and an approval by playing does not prove who the player is).
|
| |
| static State | stateOf (HubConnection.Phase phase, HubConnection.EndReason reason, HubConnection.PairingFailure failure, boolean paired, boolean playing, boolean paused) |
| |
| static State | stateOfServer (de.yaacc.sendspin.client.ControllerSession.Phase phase, de.yaacc.sendspin.client.ControllerSession.EndReason reason, boolean groupPlaying) |
| | The state of the card of a server from its session.
|
| |
|
static String | ofServer (String name, String address, State state, String nowPlaying, Words words) |
| | The text of the card of a server: Sendspin server, name, address, state (what plays is added to the state).
|
| |
|
static String | nowPlaying (String title, String artist) |
| | artist - title, with what is missing left out; both are cleaned (they came from a server).
|
| |
|
static String | of (String name, String address, State state, String title, Words words) |
| | The text of a card: Sendspin, name, address, state (the title of what plays is added to the state).
|
| |
|
static String | clean (String text) |
| | A text of the network or of a file for the display: no control or separator characters, trimmed, at most MAX_TEXT characters.
|
| |
The text of a Sendspin player's card: the type, the player's name (cleaned: it came from the network), the address and the state in words.
Pure; the words come from the app's string resources.