- activity
- The activity that is adding the entry. This is used to help determine the context that the new recents entry will be in.
- intent
- The Intent that describes the recents entry. This is the same Intent that you would have used to launch the activity for it. In generally you will want to set both Android.Content.Intent.FLAG_ACTIVITY_NEW_DOCUMENT and Android.Content.Intent.FLAG_ACTIVITY_RETAIN_IN_RECENTS; the latter is required since this recents entry will exist without an activity, so it doesn't make sense to not retain it when its activity disappears. The given Intent here also must have an explicit ComponentName set on it.
- description
- Optional additional description information.
- thumbnail
- Thumbnail to use for the recents entry. Should be the size given by ActivityManager.AppTaskThumbnailSize. If the bitmap is not that exact size, it will be recreated in your process, probably in a way you don't like, before the recents entry is added.
Documentation for this section has not yet been entered.
Add a new NoType:android/app/ActivityManager$AppTask;Href=../../../reference/android/app/ActivityManager.AppTask.html for the calling application. This will create a new recents entry that is added to the end of all existing recents.