ActivityManager.RunningAppProcessInfo.ImportanceTopSleeping 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.Importance enum directly instead of this field.
#importance常量:此过程正在运行前台 UI,但设备处于睡眠状态,因此它对用户不可见。
[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实现
- 特性
注解
重要性常量:此进程正在运行前台 UI,但设备处于睡眠状态,因此它对用户不可见。 尽管系统会努力阻止其进程被终止,但以所有其他方式将其视为一种缓存进程,并存在与该状态一起的限制:网络访问、正在运行的后台服务等。
Android 参考。android.app.ActivityManager.RunningAppProcessInfo.IMPORTANCE_TOP_SLEEPING
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。