Android.App.Activity.SetTaskDescription Method
Sets information describing the task with this activity for presentation inside the Recents System UI.

Syntax

[Android.Runtime.Register("setTaskDescription", "(Landroid/app/ActivityManager$TaskDescription;)V", "GetSetTaskDescription_Landroid_app_ActivityManager_TaskDescription_Handler")]
public virtual void SetTaskDescription (ActivityManager.TaskDescription taskDescription)

See Also

ActivityManager.GetRecentTasks(int, Android.App.RecentTaskFlags)

Parameters

taskDescription
The TaskDescription properties that describe the task with this activity

Remarks

Sets information describing the task with this activity for presentation inside the Recents System UI. When ActivityManager.GetRecentTasks(int, Android.App.RecentTaskFlags) is called, the activities of each task are traversed in order from the topmost activity to the bottommost. The traversal continues for each property until a suitable value is found. For each task the taskDescription will be returned in NoType:android/app/ActivityManager$TaskDescription;Href=../../../reference/android/app/ActivityManager.TaskDescription.html.

[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