ActivityManager.RunningServiceInfo.Foreground Property

Definition

Set to true if the service has asked to run as a foreground process.

[Android.Runtime.Register("foreground")]
public bool Foreground { get; set; }
[<Android.Runtime.Register("foreground")>]
member this.Foreground : bool with get, set

Property Value

Attributes

Remarks

Set to true if the service has asked to run as a foreground process.

Java documentation for android.app.ActivityManager.RunningServiceInfo.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