ActivityManager.RunningServiceInfo.FlagForeground 欄位

定義

警告

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

位: #flags如果服務要求以前景進程的形式執行,請設定 。

[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

欄位值

Value = 2

實作

屬性

備註

位: #flags如果服務要求以前景進程的形式執行,請設定 。

android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUNDJava 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於