Condividi tramite


ActivityManager.RunningServiceInfo.FlagForeground Campo

Definizione

Attenzione

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

Bit per #flags: impostare se il servizio ha chiesto di eseguire come processo in primo piano.

[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

Valore del campo

Value = 2

Implementazioni

Attributi

Commenti

Bit per #flags: impostare se il servizio ha chiesto di eseguire come processo in primo piano.

Documentazione java per android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a