PendingIntentActivityWrapper


public class PendingIntentActivityWrapper


A wrapper class for developers to use with startActivityAndCollapse.

Summary

Public constructors

PendingIntentActivityWrapper(
    @NonNull Context context,
    int requestCode,
    @NonNull Intent intent,
    int flags,
    boolean isMutable
)
PendingIntentActivityWrapper(
    @NonNull Context context,
    int requestCode,
    @NonNull Intent intent,
    int flags,
    @Nullable Bundle options,
    boolean isMutable
)

Public constructors

PendingIntentActivityWrapper

Added in 1.12.0
public PendingIntentActivityWrapper(
    @NonNull Context context,
    int requestCode,
    @NonNull Intent intent,
    int flags,
    boolean isMutable
)

PendingIntentActivityWrapper

Added in 1.12.0
public PendingIntentActivityWrapper(
    @NonNull Context context,
    int requestCode,
    @NonNull Intent intent,
    int flags,
    @Nullable Bundle options,
    boolean isMutable
)

Public methods

getContext

Added in 1.12.0
public @NonNull Context getContext()

getFlags

Added in 1.12.0
public int getFlags()

getIntent

Added in 1.12.0
public @NonNull Intent getIntent()

getOptions

Added in 1.12.0
public @NonNull Bundle getOptions()

getPendingIntent

Added in 1.12.0
public @Nullable PendingIntent getPendingIntent()

getRequestCode

Added in 1.12.0
public int getRequestCode()

isMutable

Added in 1.12.0
public boolean isMutable()