語言

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

實作

屬性

備註

旗標部分:如果服務要求以前景程序執行,則設定。

Android 參考資料。android.app.ActivityManager.RunningServiceInfo.FLAG_FOREGROUND

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於