Activity.MoveTaskToBack(Boolean) Method

Definition

Move the task containing this activity to the back of the activity stack.

[Android.Runtime.Register("moveTaskToBack", "(Z)Z", "GetMoveTaskToBack_ZHandler")]
public virtual bool MoveTaskToBack (bool nonRoot);
abstract member MoveTaskToBack : bool -> bool
override this.MoveTaskToBack : bool -> bool

Parameters

nonRoot
Boolean

If false then this only works if the activity is the root of a task; if true it will work for any activity in a task.

Returns

Boolean
Attributes

Remarks

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