Android Guides | Samples

Android.App.ActivityManager.RecentTaskInfo Class

Information you can retrieve about tasks that the user has most recently started or visited.

See Also: ActivityManager+RecentTaskInfo

Syntax

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

Remarks

Information you can retrieve about tasks that the user has most recently started or visited.

[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.RecentTaskInfo 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

AffiliatedTaskIdInt32.
BaseIntentIntent. The original Intent used to launch the task.
[read-only]
static
CreatorIParcelableCreator.
DescriptionICharSequence. Description of the task's last state.
IdInt32. If this task is currently running, this is the identifier for it.
OrigActivityComponentName. If this task was started from an alias, this is the actual activity component that was initially started; the component of the baseIntent in this case is the name of the actual activity implementation that the alias referred to.
PersistentIdInt32. The true identifier of this task, valid even if it is not running.
TaskDescriptionActivityManager+TaskDescription.

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.