ProfilingTrigger.TriggerTypeKillExcessiveCpuUsage 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.
当应用因 CPU 使用率android.app.ApplicationExitInfo#getReasonandroid.app.ApplicationExitInfo#REASON_EXCESSIVE_RESOURCE_USAGE过大而终止时,将发生触发器。
[Android.Runtime.Register("TRIGGER_TYPE_KILL_EXCESSIVE_CPU_USAGE", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.", true)]
public const Android.OS.ProfilingTriggerType TriggerTypeKillExcessiveCpuUsage = 9;
[<Android.Runtime.Register("TRIGGER_TYPE_KILL_EXCESSIVE_CPU_USAGE", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.ProfilingTriggerType enum directly instead of this field.", true)>]
val mutable TriggerTypeKillExcessiveCpuUsage : Android.OS.ProfilingTriggerType
字段值
Value = 9- 属性
注解
当应用因ApplicationExitInfo.REASON_EXCESSIVE_RESOURCE_USAGE ApplicationExitInfo.getReason() 的 CPU 使用率过大而终止时,将发生触发器。
系统将提供正在运行的系统跟踪的快照,以响应此触发器。
Android 参考。android.os.ProfilingTrigger.TRIGGER_TYPE_KILL_EXCESSIVE_CPU_USAGE
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。