TaskStackBuilder.AddNextIntentWithParentStack(Intent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a new Intent with the resolved chain of parents for the target activity to the task stack.
[Android.Runtime.Register("addNextIntentWithParentStack", "(Landroid/content/Intent;)Landroid/app/TaskStackBuilder;", "GetAddNextIntentWithParentStack_Landroid_content_Intent_Handler")]
public virtual Android.App.TaskStackBuilder? AddNextIntentWithParentStack (Android.Content.Intent? nextIntent);
[<Android.Runtime.Register("addNextIntentWithParentStack", "(Landroid/content/Intent;)Landroid/app/TaskStackBuilder;", "GetAddNextIntentWithParentStack_Landroid_content_Intent_Handler")>]
abstract member AddNextIntentWithParentStack : Android.Content.Intent -> Android.App.TaskStackBuilder
override this.AddNextIntentWithParentStack : Android.Content.Intent -> Android.App.TaskStackBuilder
Parameters
- nextIntent
- Intent
Intent for the topmost Activity in the synthesized task stack. Its chain of parents as specified in the manifest will be added.
Returns
This TaskStackBuilder for method chaining.
- Attributes
Remarks
Add a new Intent with the resolved chain of parents for the target activity to the task stack.
This is equivalent to calling #addParentStack(ComponentName) addParentStack
with the resolved ComponentName of nextIntent (if it can be resolved), followed by #addNextIntent(Intent) addNextIntent
with nextIntent.
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.