AndroidLaunchActivityFlag

Android Only

An enum representing the various flags that can be passed along to launchActivityFlags on NotificationPressAction.


These flags are added to the Android Intent that launches your activity.

These are only required if you need to customise the behaviour of your activities, in most cases you might not need these.

Members

BROUGHT_TO_FRONT

See FLAG_ACTIVITY_BROUGHT_TO_FRONT on the official Android documentation for more information.

CLEAR_TASK

See FLAG_ACTIVITY_CLEAR_TASK on the official Android documentation for more information.

CLEAR_TOP

See FLAG_ACTIVITY_CLEAR_TOP on the official Android documentation for more information.

CLEAR_WHEN_TASK_RESET

See FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET on the official Android documentation for more information.

EXCLUDE_FROM_RECENTS

See FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS on the official Android documentation for more information.

FORWARD_RESULT

See FLAG_ACTIVITY_FORWARD_RESULT on the official Android documentation for more information.

LAUNCHED_FROM_HISTORY

See FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY on the official Android documentation for more information.

LAUNCH_ADJACENT

See FLAG_ACTIVITY_LAUNCH_ADJACENT on the official Android documentation for more information.

MATCH_EXTERNAL

See FLAG_ACTIVITY_MATCH_EXTERNAL on the official Android documentation for more information.

MULTIPLE_TASK

See FLAG_ACTIVITY_MULTIPLE_TASK on the official Android documentation for more information.

NEW_DOCUMENT

See FLAG_ACTIVITY_NEW_DOCUMENT on the official Android documentation for more information.

NEW_TASK

See FLAG_ACTIVITY_NEW_TASK on the official Android documentation for more information.

NO_ANIMATION

See FLAG_ACTIVITY_NO_ANIMATION on the official Android documentation for more information.

NO_HISTORY

See FLAG_ACTIVITY_NO_HISTORY on the official Android documentation for more information.

NO_USER_ACTION

See FLAG_ACTIVITY_NO_USER_ACTION on the official Android documentation for more information.

PREVIOUS_IS_TOP

See FLAG_ACTIVITY_PREVIOUS_IS_TOP on the official Android documentation for more information.

REORDER_TO_FRONT

See FLAG_ACTIVITY_REORDER_TO_FRONT on the official Android documentation for more information.

RESET_TASK_IF_NEEDED

See FLAG_ACTIVITY_RESET_TASK_IF_NEEDED on the official Android documentation for more information.

RETAIN_IN_RECENTS

See FLAG_ACTIVITY_RETAIN_IN_RECENTS on the official Android documentation for more information.

SINGLE_TOP

See FLAG_ACTIVITY_SINGLE_TOP on the official Android documentation for more information.

TASK_ON_HOME

See FLAG_ACTIVITY_TASK_ON_HOME on the official Android documentation for more information.


Copyright 2020 - 2021 © Invertase Limited

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.

All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.