Set the current service to run in the background.

app.SetInBackground()

See Also: StartService, SetInForeground.

Example click to expand contents