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- 屬性
備註
觸發發生在應用程式因 CPU 使用過多而導致 ApplicationExitInfo.getReason() 為 ApplicationExitInfo.REASON_EXCESSIVE_RESOURCE_USAGE 時被終止。
系統會針對此觸發器提供正在執行的系統追蹤快照。
Android 參考資料。android.os.ProfilingTrigger.TRIGGER_TYPE_KILL_EXCESSIVE_CPU_USAGE
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。