ActivityManager.RunningAppProcessInfo.ImportanceForegroundService 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。