androidchatsdk / Chat Android SDK / Gladly / handleOnTrimMemory
handleOnTrimMemory
fun handleOnTrimMemory(context:Context, level:Int):Unit
Frees unnecessary memory/resources according to the memory trim level. This tpyically should only be used in your Application.onTrimMemory(…) call.
Parameters
context - Activity/application context to be initialized
with.
level - The severity of the memory situation.