Android Guides | Samples

Android.App.Importance Enumeration

Enumerates values returned by several types.

Syntax

public enum Importance

Remarks

Members

Member NameDescription
BackgroundConstant for ActivityManager+RunningAppProcessInfo.Importance: this process process contains background code that is expendable.
EmptyConstant for ActivityManager+RunningAppProcessInfo.Importance: this process is empty of any actively running code.
ForegroundConstant for ActivityManager+RunningAppProcessInfo.Importance: this process is running the foreground UI.
Gone
PerceptibleConstant for ActivityManager+RunningAppProcessInfo.Importance: this process is running something that is considered to be actively perceptible to the user. An example would be an application performing background music playback.
ServiceConstant for ActivityManager+RunningAppProcessInfo.Importance: this process is contains services that should remain running.
VisibleConstant for ActivityManager+RunningAppProcessInfo.Importance: this process is running something that is actively visible to the user, though not in the immediate foreground.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.Importance are listed below.

See Also: Enum

Public Fields

BackgroundImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process process contains background code that is expendable.
EmptyImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process is empty of any actively running code.
ForegroundImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process is running the foreground UI.
GoneImportance.
PerceptibleImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process is running something that is considered to be actively perceptible to the user. An example would be an application performing background music playback.
ServiceImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process is contains services that should remain running.
VisibleImportance. Constant for ActivityManager+RunningAppProcessInfo.Importance: this process is running something that is actively visible to the user, though not in the immediate foreground.