Activity.SetTaskDescription(ActivityManager+TaskDescription) Method

Definition

Sets information describing the task with this activity for presentation inside the Recents System UI.

[Android.Runtime.Register("setTaskDescription", "(Landroid/app/ActivityManager$TaskDescription;)V", "GetSetTaskDescription_Landroid_app_ActivityManager_TaskDescription_Handler")]
public virtual void SetTaskDescription (Android.App.ActivityManager.TaskDescription? taskDescription);
[<Android.Runtime.Register("setTaskDescription", "(Landroid/app/ActivityManager$TaskDescription;)V", "GetSetTaskDescription_Landroid_app_ActivityManager_TaskDescription_Handler")>]
abstract member SetTaskDescription : Android.App.ActivityManager.TaskDescription -> unit
override this.SetTaskDescription : Android.App.ActivityManager.TaskDescription -> unit

Parameters

taskDescription
ActivityManager.TaskDescription

The TaskDescription properties that describe the task with this activity

Attributes

Remarks

Java documentation for android.app.Activity.setTaskDescription(android.app.TaskDescription).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

  • <xref:Android.App.ActivityManager.GetRecentTasks(System.Int32%2c+Android.App.RecentTaskFlags)>