TaskStackBuilder

Class of android.app · TaskStackBuilder.java · Android's reference

public class TaskStackBuilder

A back stack of activities to start at once: an activity's parents (android:parentActivityName) before it

Methods

public static TaskStackBuilder create(Context context) source
public TaskStackBuilder addNextIntent(Intent nextIntent) source
public TaskStackBuilder addNextIntentWithParentStack(Intent nextIntent) source
public TaskStackBuilder addParentStack(Activity sourceActivity) source
public TaskStackBuilder addParentStack(Class<?> sourceActivityClass) source
public TaskStackBuilder addParentStack(ComponentName sourceActivityName) source

the activity's parents, the farthest first, before the intents added after them

public int getIntentCount() source
public Intent getIntent(int index) deprecated source
public Intent editIntentAt(int index) source
public Intent[] getIntents() source

the intents, the first one starting a new task as Android's does

public void startActivities() source
public void startActivities(android.os.Bundle options) source
public PendingIntent getPendingIntent(int requestCode, int flags) source
public PendingIntent getPendingIntent(int requestCode, int flags, android.os.Bundle options) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.