共用方式為


Activity.InterfaceConsts.TrimMemoryRunningLow 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 is not an expendable background process, but the device is running low on memory.

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

Field Value

Value = 10
Attributes

Remarks

Level for #onTrimMemory(int): the process is not an expendable background process, but the device is running low on memory. Your running process should free up unneeded resources to allow that memory to be used elsewhere.

Java documentation for android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW.

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