Partager via


ActivityManager.RunningAppProcessInfo.ImportanceForegroundService Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.

Constant for #importance: This process is running a foreground service, for example to perform music playback even while the user is not immediately in the app.

[Android.Runtime.Register("IMPORTANCE_FOREGROUND_SERVICE", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)]
public const Android.App.Importance ImportanceForegroundService = 125;
[<Android.Runtime.Register("IMPORTANCE_FOREGROUND_SERVICE", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)>]
val mutable ImportanceForegroundService : Android.App.Importance

Field Value

Value = 125

Implements

Attributes

Remarks

Constant for #importance: This process is running a foreground service, for example to perform music playback even while the user is not immediately in the app. This generally indicates that the process is doing something the user actively cares about.

Java documentation for android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE.

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