Java android.app TaskStackBuilder fields, constructors, methods, implement or subclass

Example usage for Java android.app TaskStackBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.app TaskStackBuilder.

The text is from its open source code.

Method

TaskStackBuilderaddNextIntent(Intent nextIntent)
Add a new Intent to the task stack.
TaskStackBuilderaddNextIntentWithParentStack(Intent nextIntent)
Add a new Intent with the resolved chain of parents for the target activity to the task stack.
TaskStackBuilderaddParentStack(Activity sourceActivity)
Add the activity parent chain as specified by the Activity#getParentActivityIntent() getParentActivityIntent() method of the activity specified and the android.R.attr#parentActivityName parentActivityName attributes of each successive activity (or activity-alias) element in the application's manifest to the task stack builder.
TaskStackBuilderaddParentStack(Class sourceActivityClass)
Add the activity parent chain as specified by the android.R.attr#parentActivityName parentActivityName attribute of the activity (or activity-alias) element in the application's manifest to the task stack builder.
TaskStackBuilderaddParentStack(ComponentName sourceActivityName)
Add the activity parent chain as specified by the android.R.attr#parentActivityName parentActivityName attribute of the activity (or activity-alias) element in the application's manifest to the task stack builder.
TaskStackBuildercreate(Context context)
Return a new TaskStackBuilder for launching a fresh task stack consisting of a series of activities.
PendingIntentgetPendingIntent(int requestCode, @PendingIntent.Flags int flags)
Obtain a PendingIntent for launching the task constructed by this builder so far.
voidstartActivities()
Start the task stack constructed by this builder.