Share via


ActivityManager.AppTask.MoveToFront Method

Definition

Bring this task to the foreground.

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

Remarks

Bring this task to the foreground. If it contains activities, they will be brought to the foreground with it and their instances re-created if needed. If it doesn't contain activities, the root activity of the task will be re-launched.

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

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