ServiceInfoFlags ServiceInfoFlags Enum

Definition

Enumerates values returned by several types.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

Foreground Foreground 2

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

PersistentProcess PersistentProcess 8

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

Started Started 1

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

SystemProcess SystemProcess 4

Bit for {@link #flags): set if the service is running in a core system 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