語言

ActivityManager.RunningAppProcessInfo.ImportanceForegroundService 欄位

定義

警告

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

為常數 #importance表示:此程序執行前景服務,例如即使使用者未立即進入應用程式,仍執行音樂播放。

[Android.Runtime.Register("IMPORTANCE_FOREGROUND_SERVICE", ApiSince=23)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)]
public const Android.App.Importance ImportanceForegroundService = 125;
[<Android.Runtime.Register("IMPORTANCE_FOREGROUND_SERVICE", ApiSince=23)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.", true)>]
val mutable ImportanceForegroundService : Android.App.Importance

欄位值

Value = 125

實作

屬性

備註

重要性為常數:此程序執行前台服務,例如即使使用者未立即進入應用程式,仍執行音樂播放。 這通常表示該程序正在執行使用者積極關心的事情。

Android 參考資料。android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE

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

適用於