Partager via


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

Documentation Java pour android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

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

S’applique à