Share via


ContentProvider.OnLowMemory Method

Definition

To be added This method is always called on the application main thread, and must not perform lengthy operations.

[Android.Runtime.Register("onLowMemory", "()V", "GetOnLowMemoryHandler")]
public virtual void OnLowMemory ();
[<Android.Runtime.Register("onLowMemory", "()V", "GetOnLowMemoryHandler")>]
abstract member OnLowMemory : unit -> unit
override this.OnLowMemory : unit -> unit

Implements

Attributes

Remarks

To be added This method is always called on the application main thread, and must not perform lengthy operations.

The default content provider implementation does nothing. Subclasses may override this method to take appropriate action.

Java documentation for android.content.ContentProvider.onLowMemory().

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