Android Guides | Samples

Android.App.MoveTaskFlags Enumeration

Enumerates values returned by the MoveTaskFlags.NoUserAction, and MoveTaskFlags.WithHome members and taken as a parameter of the ActivityManager.MoveTaskToFront, and ActivityManager.MoveTaskToFront members.

Syntax

[System.Flags]
public enum MoveTaskFlags

Remarks

Enumerates values returned by the MoveTaskFlags.NoUserAction, and MoveTaskFlags.WithHome members and taken as a parameter of the ActivityManager.MoveTaskToFront, and ActivityManager.MoveTaskToFront members.

Members

Member NameDescription
NoUserActionFlag for ActivityManager.MoveTaskToFront(Int32,MoveTaskFlags): don't count this as a user-instigated action, so the current activity will not receive a hint that the user is leaving.
WithHomeFlag for ActivityManager.MoveTaskToFront(Int32,MoveTaskFlags): also move the "home" activity along with the task, so it is positioned immediately behind the task.

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.MoveTaskFlags are listed below.

See Also: Enum

Public Fields

NoUserActionMoveTaskFlags. Flag for ActivityManager.MoveTaskToFront(Int32,MoveTaskFlags): don't count this as a user-instigated action, so the current activity will not receive a hint that the user is leaving.
WithHomeMoveTaskFlags. Flag for ActivityManager.MoveTaskToFront(Int32,MoveTaskFlags): also move the "home" activity along with the task, so it is positioned immediately behind the task.