ComponentCallbacks2.TrimMemoryRunningCritical 字段

定义

注意

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

#onTrimMemory(int)级别:进程不是可消耗的后台进程,但设备的内存运行非常低,并且无法保持任何后台进程运行。

[Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)]
public const Android.Content.TrimMemory TrimMemoryRunningCritical = 15;
[<Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)>]
val mutable TrimMemoryRunningCritical : Android.Content.TrimMemory

字段值

Value = 15
属性

注解

#onTrimMemory(int)级别:进程不是可消耗的后台进程,但设备的内存运行非常低,并且无法保持任何后台进程运行。 正在运行的进程应释放尽可能多的非关键资源,以允许该内存在其他地方使用。 调用此之后将发生的下一件事是 #onLowMemory() 报告没有任何内容可以保留在后台,这种情况可能会开始显著影响用户。

android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICALJava 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于