Dela via


ActivityManager.RunningAppProcesses Property

Definition

Returns a list of application processes that are running on the device.

public virtual System.Collections.Generic.IList<Android.App.ActivityManager.RunningAppProcessInfo>? RunningAppProcesses { [Android.Runtime.Register("getRunningAppProcesses", "()Ljava/util/List;", "GetGetRunningAppProcessesHandler")] get; }
[<get: Android.Runtime.Register("getRunningAppProcesses", "()Ljava/util/List;", "GetGetRunningAppProcessesHandler")>]
member this.RunningAppProcesses : System.Collections.Generic.IList<Android.App.ActivityManager.RunningAppProcessInfo>

Property Value

Returns a list of RunningAppProcessInfo records, or null if there are no running processes (it will not return an empty list). This list ordering is not specified.

Attributes

Remarks

Returns a list of application processes that are running on the device.

<b>Note: this method is only intended for debugging or building a user-facing process management UI.</b>

Java documentation for android.app.ActivityManager.getRunningAppProcesses().

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