共用方式為


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 屬性授權中所述的詞彙使用。

適用於