Language

Application.InterfaceConsts.TrimMemoryRunningCritical Field

Definition

This constant was deprecated in API level 35.

[Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")]
public const Android.Content.TrimMemory TrimMemoryRunningCritical = 15;
[<Android.Runtime.Register("TRIM_MEMORY_RUNNING_CRITICAL")>]
val mutable TrimMemoryRunningCritical : Android.Content.TrimMemory

Field Value

Value = 15
Attributes

Remarks

This constant was deprecated in API level 35. Apps are not notified of this level since API level 34

Level for onTrimMemory(int): the process is not an expendable background process, but the device is running extremely low on memory and is about to not be able to keep any background processes running. Your running process should free up as many non-critical resources as it can to allow that memory to be used elsewhere. The next thing that will happen after this is ComponentCallbacks.onLowMemory() called to report that nothing at all can be kept in the background, a situation that can start to notably impact the user.

Android reference for android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL.

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