Android.App.ActivityManager.MoveTaskToFront Method
Equivalent to calling ActivityManager.MoveTaskToFront(int, Android.App.MoveTaskFlags, Android.App.MoveTaskFlags) with a null options argument.

Syntax

[Android.Runtime.Register("moveTaskToFront", "(II)V", "GetMoveTaskToFront_IIHandler")]
public virtual void MoveTaskToFront (int taskId, [Android.Runtime.GeneratedEnum] MoveTaskFlags flags)

Parameters

taskId
The identifier of the task to be moved, as found in NoType:android/app/ActivityManager$RunningTaskInfo;Href=../../../reference/android/app/ActivityManager.RunningTaskInfo.html or NoType:android/app/ActivityManager$RecentTaskInfo;Href=../../../reference/android/app/ActivityManager.RecentTaskInfo.html.
flags
Additional operational flags, 0 or more of ActivityManager.MOVE_TASK_WITH_HOME, ActivityManager.MOVE_TASK_NO_USER_ACTION.

Remarks

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11