ActivityManager.GetProcessMemoryInfo(Int32[]) Method

Definition

Return information about the memory usage of one or more processes.

[Android.Runtime.Register("getProcessMemoryInfo", "([I)[Landroid/os/Debug$MemoryInfo;", "GetGetProcessMemoryInfo_arrayIHandler")]
public virtual Android.OS.Debug.MemoryInfo[]? GetProcessMemoryInfo (int[]? pids);
[<Android.Runtime.Register("getProcessMemoryInfo", "([I)[Landroid/os/Debug$MemoryInfo;", "GetGetProcessMemoryInfo_arrayIHandler")>]
abstract member GetProcessMemoryInfo : int[] -> Android.OS.Debug.MemoryInfo[]
override this.GetProcessMemoryInfo : int[] -> Android.OS.Debug.MemoryInfo[]

Parameters

pids
Int32[]

The pids of the processes whose memory usage is to be retrieved.

Returns

Returns an array of memory information, one for each requested pid.

Attributes

Remarks

Java documentation for android.app.ActivityManager.getProcessMemoryInfo(int[]).

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