|
YAACC - UPNP Client and Server
|
Task 12.6 / 12C: whether the phone's own Snapcast client is started again by the application (at the start of the process, which a reboot with "autostart on boot" also is, and as one more try when a screen starts). More...

Classes | |
| class | Decision |
| The answer: restore, or skip with the reason. | |
| class | Facts |
| What is known when the question is asked. | |
| enum | Point |
| Where the restore is asked for. More... | |
| enum | Skip |
| Why nothing is started; the order of the constants is the order in which the reasons are checked. More... | |
Static Public Member Functions | |
| static Decision | decide (Facts facts) |
| static boolean | isFailure (String endingName) |
Task 12.6 / 12C: whether the phone's own Snapcast client is started again by the application (at the start of the process, which a reboot with "autostart on boot" also is, and as one more try when a screen starts).
Pure: the facts come in, the decision goes out.
Restore only when ALL hold: the client is switched on, the option is on, a server is set, no session runs, the app is not in the hold-back window after an exit, the last ending is not an unseen failure, and no attempt was made in this process yet. The one exception to "no attempt yet": a start that the system REFUSED (Android 12 and newer limit foreground service starts from the background) is tried once more when a screen starts, and never a third time.
|
static |
Referenced by de.yaacc.snapcast.client.SnapcastClientPower.state().
