Sprache

ActivityManager.RunningServiceInfo.FlagForeground Feld

Definition

Achtung

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

Bit für #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

Feldwert

Value = 2

Implementiert

Attribute

Hinweise

Bit für Flags: Legen Sie fest, ob der Dienst aufgefordert wurde, als Vordergrundprozess auszuführen.

Android-Referenz für android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: