ComponentCallbacks2

Interface of android.content · ComponentCallbacks2.java · Android's reference

public interface ComponentCallbacks2 extends ComponentCallbacks

Told also when memory runs short.

Implemented in the framework by

Fields

public int TRIM_MEMORY_COMPLETE source
public int TRIM_MEMORY_MODERATE source
public int TRIM_MEMORY_BACKGROUND source
public int TRIM_MEMORY_UI_HIDDEN source
public int TRIM_MEMORY_RUNNING_CRITICAL source
public int TRIM_MEMORY_RUNNING_LOW source
public int TRIM_MEMORY_RUNNING_MODERATE source

Methods

public abstract void onTrimMemory(int level) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.