Share via


TaskStackBuilder.AddNextIntent(Intent) Method

Definition

Add a new Intent to the task stack.

[Android.Runtime.Register("addNextIntent", "(Landroid/content/Intent;)Landroid/app/TaskStackBuilder;", "GetAddNextIntent_Landroid_content_Intent_Handler")]
public virtual Android.App.TaskStackBuilder? AddNextIntent (Android.Content.Intent? nextIntent);
[<Android.Runtime.Register("addNextIntent", "(Landroid/content/Intent;)Landroid/app/TaskStackBuilder;", "GetAddNextIntent_Landroid_content_Intent_Handler")>]
abstract member AddNextIntent : Android.Content.Intent -> Android.App.TaskStackBuilder
override this.AddNextIntent : Android.Content.Intent -> Android.App.TaskStackBuilder

Parameters

nextIntent
Intent

Intent for the next Activity in the synthesized task stack

Returns

This TaskStackBuilder for method chaining

Attributes

Remarks

Add a new Intent to the task stack. The most recently added Intent will invoke the Activity at the top of the final task stack.

Java documentation for android.app.TaskStackBuilder.addNextIntent(android.content.Intent).

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