public final class

MAMTaskStackBuilder

extends Object
java.lang.Object
   ↳ com.microsoft.intune.mam.client.app.MAMTaskStackBuilder

Class Overview

MAM version of android.app.TaskStackBuilder. It is recommended to allow the Build Plugin to apply this replacement.

Summary

Public Methods
MAMTaskStackBuilder addNextIntent(Intent nextIntent)
See android.app.TaskStackBuilder.
MAMTaskStackBuilder addNextIntentWithParentStack(Intent nextIntent)
See android.app.TaskStackBuilder.
MAMTaskStackBuilder addParentStack(ComponentName sourceActivityName)
See android.app.TaskStackBuilder.
MAMTaskStackBuilder addParentStack(Activity sourceActivity)
See android.app.TaskStackBuilder.
MAMTaskStackBuilder addParentStack(Class<?> sourceActivityClass)
See android.app.TaskStackBuilder.
static MAMTaskStackBuilder create(Context context)
See android.app.TaskStackBuilder.
static TaskStackBuilder createTaskStackBuilder(Context context)
MAM replacement for TaskStackBuilder.create.
Intent editIntentAt(int index)
See android.app.TaskStackBuilder.
int getIntentCount()
See android.app.TaskStackBuilder.
Intent[] getIntents()
See android.app.TaskStackBuilder.
static PendingIntent getPendingIntent(TaskStackBuilder builder, int requestCode, int flags, Bundle options)
Get a PendingIntent for the given builder.
static PendingIntent getPendingIntent(TaskStackBuilder builder, int requestCode, int flags)
Get a PendingIntent for the given builder.
PendingIntent getPendingIntent(int requestCode, int flags)
See android.app.TaskStackBuilder.
PendingIntent getPendingIntent(int requestCode, int flags, Bundle options)
See android.app.TaskStackBuilder.
void startActivities()
See android.app.TaskStackBuilder.
void startActivities(Bundle options)
See android.app.TaskStackBuilder.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public MAMTaskStackBuilder addNextIntent (Intent nextIntent)

See android.app.TaskStackBuilder.

Parameters
nextIntent See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public MAMTaskStackBuilder addNextIntentWithParentStack (Intent nextIntent)

See android.app.TaskStackBuilder.

Parameters
nextIntent See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public MAMTaskStackBuilder addParentStack (ComponentName sourceActivityName)

See android.app.TaskStackBuilder.

Parameters
sourceActivityName See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public MAMTaskStackBuilder addParentStack (Activity sourceActivity)

See android.app.TaskStackBuilder.

Parameters
sourceActivity See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public MAMTaskStackBuilder addParentStack (Class<?> sourceActivityClass)

See android.app.TaskStackBuilder.

Parameters
sourceActivityClass See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public static MAMTaskStackBuilder create (Context context)

See android.app.TaskStackBuilder.

Parameters
context See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public static TaskStackBuilder createTaskStackBuilder (Context context)

MAM replacement for TaskStackBuilder.create. Be sure to use MAMTaskStackBuilder.getPendingIntent instead of calling getPendingIntent directly on the returned builder.

Parameters
context context
Returns
  • TaskStackBuilder

public Intent editIntentAt (int index)

See android.app.TaskStackBuilder.

Parameters
index See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public int getIntentCount ()

See android.app.TaskStackBuilder.

Returns
  • See android.app.TaskStackBuilder.

public Intent[] getIntents ()

See android.app.TaskStackBuilder.

Returns
  • See android.app.TaskStackBuilder.

public static PendingIntent getPendingIntent (TaskStackBuilder builder, int requestCode, int flags, Bundle options)

Get a PendingIntent for the given builder. The builder should have been returned from createTaskStackBuilder.

Parameters
builder builder to get the pending intent from
requestCode See android.app.TaskStackBuilder.
flags See android.app.TaskStackBuilder.
options See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public static PendingIntent getPendingIntent (TaskStackBuilder builder, int requestCode, int flags)

Get a PendingIntent for the given builder. The builder should have been returned from createTaskStackBuilder.

Parameters
builder builder to get the pending intent from
requestCode See android.app.TaskStackBuilder.
flags See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public PendingIntent getPendingIntent (int requestCode, int flags)

See android.app.TaskStackBuilder.

Parameters
requestCode See android.app.TaskStackBuilder.
flags See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public PendingIntent getPendingIntent (int requestCode, int flags, Bundle options)

See android.app.TaskStackBuilder.

Parameters
requestCode See android.app.TaskStackBuilder.
flags See android.app.TaskStackBuilder.
options See android.app.TaskStackBuilder.
Returns
  • See android.app.TaskStackBuilder.

public void startActivities ()

See android.app.TaskStackBuilder.

public void startActivities (Bundle options)

See android.app.TaskStackBuilder.

Parameters
options See android.app.TaskStackBuilder.