ActivityManager.GetMyMemoryState Method

Definition

Return global memory state information for the calling process.

[Android.Runtime.Register("getMyMemoryState", "(Landroid/app/ActivityManager$RunningAppProcessInfo;)V", "")]
public static void GetMyMemoryState(Android.App.ActivityManager.RunningAppProcessInfo? outState);
[<Android.Runtime.Register("getMyMemoryState", "(Landroid/app/ActivityManager$RunningAppProcessInfo;)V", "")>]
static member GetMyMemoryState : Android.App.ActivityManager.RunningAppProcessInfo -> unit

Parameters

outState
ActivityManager.RunningAppProcessInfo

ActivityManager.RunningAppProcessInfo

Attributes

Remarks

Return global memory state information for the calling process. This does not fill in all fields of the RunningAppProcessInfo. The only fields that will be filled in are RunningAppProcessInfo.pid, RunningAppProcessInfo.uid, RunningAppProcessInfo.lastTrimLevel, RunningAppProcessInfo.importance, RunningAppProcessInfo.lru, and RunningAppProcessInfo.importanceReasonCode.

Android reference for android.app.ActivityManager.getMyMemoryState.

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