Android.App.ActivityManager.GetMemoryInfo Method
Return general information about the memory state of the system.

Syntax

[Android.Runtime.Register("getMemoryInfo", "(Landroid/app/ActivityManager$MemoryInfo;)V", "GetGetMemoryInfo_Landroid_app_ActivityManager_MemoryInfo_Handler")]
public virtual void GetMemoryInfo (ActivityManager.MemoryInfo outInfo)

Parameters

outInfo
Documentation for this section has not yet been entered.

Remarks

Return general information about the memory state of the system. This can be used to help decide how to manage your own memory, though note that polling is not recommended and Android.Content.ComponentCallbacks2.onTrimMemory(int) is the preferred way to do this. Also see ActivityManager.GetMyMemoryState(.RunningAppProcessInfo) for how to retrieve the current trim level of your process as needed, which gives a better hint for how to manage its memory.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1