|
YAACC - UPNP Client and Server
|
The SnapcastClientPower of the app: its state in the default preferences, its session the process-wide SnapcastClientRuntime and the SnapcastClientService.
More...

Static Public Member Functions | |
| static synchronized SnapcastClientPower | of (Context context) |
| static void | restore (Context context, SnapcastClientRestore.Point point, boolean exitHold) |
| The application starts the client again from its state: at the end of the startup route and when the user starts the app. | |
| static List< SnapcastServerChoices.Choice > | knownServers (Context context) |
The servers the client can use, as SnapcastServerChoices builds them from the server list (typed in, remembered, found) and the address the listen test used last: host only, the client connects to the stream port 1704 (the limit of the list, see the notes). | |
| static SnapcastServerChoices.Choice | currentServer (Context context) |
| The server the client uses now: the last one it was connected to, else the first known one; null when none is known. | |
| static int | currentServerIndex (Context context, List< SnapcastServerChoices.Choice > known) |
The position of the current server in known (to mark it in the list); -1 when the list is empty. | |
The SnapcastClientPower of the app: its state in the default preferences, its session the process-wide SnapcastClientRuntime and the SnapcastClientService.
One object per process (it counts the restore attempts of the process). Thin Android glue; the decisions are in SnapcastClientPower and SnapcastClientRestore.
|
static |
The servers the client can use, as SnapcastServerChoices builds them from the server list (typed in, remembered, found) and the address the listen test used last: host only, the client connects to the stream port 1704 (the limit of the list, see the notes).
In memory, no network. At most SnapcastServerChoices#MAX_CHOICES.
Referenced by de.yaacc.snapcast.client.SnapcastClientPowers.currentServer().


|
static |
The application starts the client again from its state: at the end of the startup route and when the user starts the app.
Never throws (the startup of the app must go on).
Referenced by de.yaacc.Yaacc.userStarted().

