共用方式為


ContentProvider.InterfaceConsts.TrimMemoryRunningModerate 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 moderately low on memory.

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

Field Value

Value = 5
Attributes

Remarks

Level for #onTrimMemory(int): the process is not an expendable background process, but the device is running moderately low on memory. Your running process may want to release some unneeded resources for use elsewhere.

Java documentation for android.content.ComponentCallbacks2.TRIM_MEMORY_RUNNING_MODERATE.

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