The words for the state of the phone's own Snapcast client (the switch on the first page, the listen test) and for the reason of a start that did not happen.
More...
|
|
static int | stateTextRes (SnapcastClientPower.State state) |
| | The string resource for the state; for a stopped client with a known ending it takes the reason as its argument.
|
| |
|
static String | reasonOf (SnapcastClientPower.State state) |
| | The reason the last session ended, in words; empty when there is none (or the name is not an ending).
|
| |
|
static int | refusalTextRes (SnapcastClientPower.Outcome outcome) |
| | The text for a start that did not happen; 0 for an outcome that is no refusal.
|
| |
|
static String | stateText (Context context, SnapcastClientPower.State state) |
| | The line for the state: "Playing", "Off", "Stopped: <reason>".
|
| |
|
static String | refusalText (Context context, SnapcastClientPower.Outcome outcome) |
| | The reason for a refusal, or null for an outcome that is none.
|
| |
The words for the state of the phone's own Snapcast client (the switch on the first page, the listen test) and for the reason of a start that did not happen.
The choice of the string is pure (and tested on the JVM); only stateText and refusalText need a context.
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/snapcast/client/SnapcastClientPowerTexts.java