Fragment.InterfaceConsts.TrimMemoryBackground Field

Definition

Caution

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

Level for #onTrimMemory(int): the process has gone on to the LRU list.

[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

Field Value

Value = 40
Attributes

Remarks

Level for #onTrimMemory(int): the process has gone on to the LRU list. This is a good opportunity to clean up resources that can efficiently and quickly be re-built if the user returns to the app.

Java documentation for android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND.

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