Service.InterfaceConsts.TrimMemoryBackground 字段

定义

注意

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

#onTrimMemory(int)级别:该过程已打开 LRU 列表。

[Android.Runtime.Register("TRIM_MEMORY_BACKGROUND")]
[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 TrimMemoryBackground = 40;
[<Android.Runtime.Register("TRIM_MEMORY_BACKGROUND")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.TrimMemory enum directly instead of this field.", true)>]
val mutable TrimMemoryBackground : Android.Content.TrimMemory

字段值

Value = 40
属性

注解

#onTrimMemory(int)级别:该过程已打开 LRU 列表。 这是一个很好的机会,可以清理资源,如果用户返回到应用,可以高效且快速地重新生成资源。

适用于 . 的 android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUNDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于