ActivityManager.RunningServiceInfo.FlagForeground Field

Definition

Caution

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

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

[Android.Runtime.Register("FLAG_FOREGROUND")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ServiceInfoFlags enum directly instead of this field.", true)]
public const Android.App.ServiceInfoFlags FlagForeground = 2;
[<Android.Runtime.Register("FLAG_FOREGROUND")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ServiceInfoFlags enum directly instead of this field.", true)>]
val mutable FlagForeground : Android.App.ServiceInfoFlags

Field Value

Value = 2

Implements

Attributes

Remarks

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

Java documentation for android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

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