Share via


TaskStackBuilder.Create(Context) Method

Definition

Return a new TaskStackBuilder for launching a fresh task stack consisting of a series of activities.

[Android.Runtime.Register("create", "(Landroid/content/Context;)Landroid/app/TaskStackBuilder;", "")]
public static Android.App.TaskStackBuilder? Create (Android.Content.Context? context);
[<Android.Runtime.Register("create", "(Landroid/content/Context;)Landroid/app/TaskStackBuilder;", "")>]
static member Create : Android.Content.Context -> Android.App.TaskStackBuilder

Parameters

context
Context

The context that will launch the new task stack or generate a PendingIntent

Returns

A new TaskStackBuilder

Attributes

Remarks

Return a new TaskStackBuilder for launching a fresh task stack consisting of a series of activities.

Java documentation for android.app.TaskStackBuilder.create(android.content.Context).

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