Android Guides | Samples

Android.App.ActivityManager.RunningTaskInfo Class

Information you can retrieve about a particular task that is currently "running" in the system.

See Also: ActivityManager+RunningTaskInfo

Syntax

[Android.Runtime.Register("android/app/ActivityManager$RunningTaskInfo", DoNotGenerateAcw=true)]
public class ActivityManager.RunningTaskInfo : Object, IParcelable, IDisposable

Remarks

Information you can retrieve about a particular task that is currently "running" in the system. Note that a running task does not mean the given task actually has a process it is actively running in; it simply means that the user has gone to it and never closed it, but currently the system may have killed its process and is only holding on to its last state in order to restart it when the user returns.

[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

The members of Android.App.ActivityManager.RunningTaskInfo are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

BaseActivityComponentName. The component launched as the first activity in the task.
[read-only]
static
CreatorIParcelableCreator.
DescriptionICharSequence. Description of the task's current state.
IdInt32. A unique identifier for this task.
NumActivitiesInt32. Number of activities in this task.
NumRunningInt32. Number of activities that are currently running (not stopped and persisted) in this task.
ThumbnailBitmap. Thumbnail representation of the task's current state.
TopActivityComponentName. The activity component at the top of the history stack of the task.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
ReadFromParcel(Parcel)
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.