Condividi tramite


WebView.FreeMemory Method

Definition

Caution

deprecated

Informs this WebView that memory is low so that it can free any available memory.

[Android.Runtime.Register("freeMemory", "()V", "GetFreeMemoryHandler")]
[System.Obsolete("deprecated")]
public virtual void FreeMemory ();
[<Android.Runtime.Register("freeMemory", "()V", "GetFreeMemoryHandler")>]
[<System.Obsolete("deprecated")>]
abstract member FreeMemory : unit -> unit
override this.FreeMemory : unit -> unit
Attributes

Remarks

Informs this WebView that memory is low so that it can free any available memory.

This member is deprecated. Memory caches are automatically dropped when no longer needed, and in response to system memory pressure.

Java documentation for android.webkit.WebView.freeMemory().

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