ActivityManager.RecentTaskInfo


public static class ActivityManager.RecentTaskInfo
extends TaskInfo implements Parcelable

java.lang.Object
   ↳ android.app.TaskInfo
     ↳ android.app.ActivityManager.RecentTaskInfo


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

Summary

Inherited constants

Fields

public static final Creator<ActivityManager.RecentTaskInfo> CREATOR

public int affiliatedTaskId

This field was deprecated in API level 29. As of Build.VERSION_CODES.Q, currently always 0.

public CharSequence description

This field was deprecated in API level 29. As of Build.VERSION_CODES.Q, currently always null.

public int id

This field was deprecated in API level 29. As of Build.VERSION_CODES.Q, use RecentTaskInfo.taskId to get the task id and RecentTaskInfo.isRunning to determine if it is running.

public int persistentId

This field was deprecated in API level 29. As of Build.VERSION_CODES.Q, use RecentTaskInfo.taskId.

Inherited fields

Public constructors

RecentTaskInfo()

Public methods

int describeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

void readFromParcel(Parcel source)
void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.

Inherited methods