ServiceInfoFlags ServiceInfoFlags Enum


Enumerates values returned by several types.

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

public enum ServiceInfoFlags
type ServiceInfoFlags = 


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.


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