YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.AutostartReceiverState Class Reference

The state of the boot receiver ServerAutostart that the setting "autostart on boot" stands for: ticked = the component is enabled (the system delivers BOOT_COMPLETED to it, so the process is created at boot and the normal startup route runs), not ticked = disabled (nothing starts at boot). More...

Collaboration diagram for de.yaacc.upnp.server.AutostartReceiverState:
Collaboration graph

Static Public Member Functions

static int componentState (boolean autostartTicked)
 

Detailed Description

The state of the boot receiver ServerAutostart that the setting "autostart on boot" stands for: ticked = the component is enabled (the system delivers BOOT_COMPLETED to it, so the process is created at boot and the normal startup route runs), not ticked = disabled (nothing starts at boot).

The state is always explicit, never the manifest default.

Member Function Documentation

◆ componentState()

static int de.yaacc.upnp.server.AutostartReceiverState.componentState ( boolean autostartTicked)
static
Returns
a PackageManager component state: ENABLED when the setting is ticked, else DISABLED

Referenced by de.yaacc.upnp.server.ServerAutostart.applySetting().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: