//readium-shared/org.readium.r2.shared.util/MemoryObserver
MemoryObserver¶
[androidJvm]\ interface MemoryObserver
A memory observer reacts to a device reclaiming memory by releasing unused resources.
Types¶
Name | Summary |
---|---|
Companion | [androidJvm] object Companion |
Level | [androidJvm] enum Level : Enum<MemoryObserver.Level> Level of memory trim. |
Functions¶
Name | Summary |
---|---|
onTrimMemory | [androidJvm] abstract fun onTrimMemory(level: MemoryObserver.Level) Called by the system when memory needs to be freed. |
Inheritors¶
Name |
---|
InMemoryCacheService |
Cache |