共用方式為


Activity.InterfaceConsts.TrimMemoryUiHidden 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 had been showing a user interface, and is no longer doing so.

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

Field Value

Value = 20
Attributes

Remarks

Level for #onTrimMemory(int): the process had been showing a user interface, and is no longer doing so. Large allocations with the UI should be released at this point to allow memory to be better managed.

Java documentation for android.content.ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN.

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