Set the current service to run in the background.

app.SetInBackground()

See Also: StartService, SetInForeground.

Example - 2 click to expand contents