Share via


ServiceInfoFlags Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ServiceInfoFlags
[<System.Flags>]
type ServiceInfoFlags = 
Inheritance
ServiceInfoFlags
Attributes

Fields

Name Value Description
Started 1

Bit for Flags: set if this service has been explicitly started.

Foreground 2

Bit for Flags: set if the service has asked to run as a foreground process.

SystemProcess 4

Bit for {@link #flags): set if the service is running in a core system process.

PersistentProcess 8

Bit for {@link #flags): set if the service is running in a persistent process.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to