語言

ActivityManager.RunningServiceInfo.Foreground 屬性

定義

若服務要求以前台程序執行,則設為 true。

[Android.Runtime.Register("foreground")]
public bool Foreground { get; set; }
[<Android.Runtime.Register("foreground")>]
member this.Foreground : bool with get, set

屬性值

屬性

備註

若服務要求以前台程序執行,則設為 true。

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

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

適用於