Freigeben über


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: set if the service has asked to run as a foreground process.

Java-Dokumentation für android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die vom Android Open Source-Projekt erstellt und freigegeben werden und gemäß den in der Creative Commons 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: