Starts or stops the local UPnP server service according to the preferences.
More...
|
| static void | apply (Context context, boolean restart) |
| |
Starts or stops the local UPnP server service according to the preferences.
Shared by the browser activities, which call it from onResume.
◆ apply()
| static void de.yaacc.upnp.server.LocalServerLifecycle.apply |
( |
Context | context, |
|
|
boolean | restart ) |
|
static |
- Parameters
-
| context | any context; only the application context is used |
| restart | true after the user visited the settings, so that changed server settings take effect (the service is stopped first) |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/upnp/server/LocalServerLifecycle.java