Android.App.ActivityManager.GetRunningServices Method
Return a list of the services that are currently running.

Syntax

[Android.Runtime.Register("getRunningServices", "(I)Ljava/util/List;", "GetGetRunningServices_IHandler")]
public virtual IList<ActivityManager.RunningServiceInfo> GetRunningServices (int maxNum)

Parameters

maxNum
The maximum number of entries to return in the list. The actual number returned may be smaller, depending on how many services are running.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.SecurityException

Remarks

Return a list of the services that are currently running.

Note: this method is only intended for debugging or implementing service management type user interfaces.

[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