Język

ProfilingTrigger.TriggerTypeKillExcessiveCpuUsage Field

Definition

Caution

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

Trigger occurs when an app is killed due to excessive CPU usage with an android.app.ApplicationExitInfo#getReason of android.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

Field Value

Value = 9
Attributes

Remarks

Trigger occurs when an app is killed due to excessive CPU usage with an ApplicationExitInfo.getReason() of ApplicationExitInfo.REASON_EXCESSIVE_RESOURCE_USAGE.

System will provide a snapshot of a running system trace in response to this trigger.

Android reference for android.os.ProfilingTrigger.TRIGGER_TYPE_KILL_EXCESSIVE_CPU_USAGE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to