ActivityManager.RunningAppProcessInfo.ImportanceForegroundService Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = 125Implements
- 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.
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.