Share via


ActivityManager.AppTask.FinishAndRemoveTask Method

Definition

Finishes all activities in this task and removes it from the recent tasks list.

[Android.Runtime.Register("finishAndRemoveTask", "()V", "GetFinishAndRemoveTaskHandler")]
public virtual void FinishAndRemoveTask ();
[<Android.Runtime.Register("finishAndRemoveTask", "()V", "GetFinishAndRemoveTaskHandler")>]
abstract member FinishAndRemoveTask : unit -> unit
override this.FinishAndRemoveTask : unit -> unit
Attributes

Remarks

Finishes all activities in this task and removes it from the recent tasks list.

Java documentation for android.app.ActivityManager.AppTask.finishAndRemoveTask().

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