Langue

ActivityManager.RunningServiceInfo.FlagForeground Champ

Définition

Attention

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 demand 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

Valeur de champ

Value = 2

Implémente

Attributs

Remarques

Bit pour les indicateurs : définissez si le service a demandé à s’exécuter en tant que processus de premier plan.

Référence Android pour android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à