語言

ActivityManager.RunningAppProcessInfo.ImportanceTopSleeping 欄位

定義

警告

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

為 #importance常數 :此程序執行前景介面,但裝置處於休眠狀態,使用者無法看到。

[Android.Runtime.Register("IMPORTANCE_TOP_SLEEPING", 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 ImportanceTopSleeping = 325;
[<Android.Runtime.Register("IMPORTANCE_TOP_SLEEPING", 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 ImportanceTopSleeping : Android.App.Importance

欄位值

Value = 325

實作

屬性

備註

重要性為常數:此程序執行前景介面,但裝置處於休眠狀態,使用者看不到。 雖然系統會努力避免程序被終止,但在其他方面,我們都將其視為一種快取程序,並有隨之而來的限制:網路存取、執行背景服務等。

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

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

適用於