ActivityOptions.MakeTaskLaunchBehind Method

Definition

If set along with Intent.

[Android.Runtime.Register("makeTaskLaunchBehind", "()Landroid/app/ActivityOptions;", "")]
public static Android.App.ActivityOptions? MakeTaskLaunchBehind ();
[<Android.Runtime.Register("makeTaskLaunchBehind", "()Landroid/app/ActivityOptions;", "")>]
static member MakeTaskLaunchBehind : unit -> Android.App.ActivityOptions

Returns

Attributes

Remarks

If set along with Intent.FLAG_ACTIVITY_NEW_DOCUMENT then the task being launched will not be presented to the user but will instead be only available through the recents task list. In addition, the new task wil be affiliated with the launching activity's task. Affiliated tasks are grouped together in the recents task list.

This behavior is not supported for activities with android.R.styleable#AndroidManifestActivity_launchMode launchMode values of singleInstance or singleTask.

Java documentation for android.app.ActivityOptions.makeTaskLaunchBehind().

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