react-native-notify-kit / AndroidLaunchActivityFlag
Enumeration: AndroidLaunchActivityFlag
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1370
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.
BROUGHT_TO_FRONT
BROUGHT_TO_FRONT:
8
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1414
See FLAG_ACTIVITY_BROUGHT_TO_FRONT on the official Android documentation for more information.
CLEAR_TASK
CLEAR_TASK:
16
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1454
See FLAG_ACTIVITY_CLEAR_TASK on the official Android documentation for more information.
CLEAR_TOP
CLEAR_TOP:
4
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1394
See FLAG_ACTIVITY_CLEAR_TOP on the official Android documentation for more information.
CLEAR_WHEN_TASK_RESET
CLEAR_WHEN_TASK_RESET:
11
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1429
See FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET on the official Android documentation for more information.
EXCLUDE_FROM_RECENTS
EXCLUDE_FROM_RECENTS:
7
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1409
See FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS on the official Android documentation for more information.
FORWARD_RESULT
FORWARD_RESULT:
5
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1399
See FLAG_ACTIVITY_FORWARD_RESULT on the official Android documentation for more information.
LAUNCH_ADJACENT
LAUNCH_ADJACENT:
19
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1469
See FLAG_ACTIVITY_LAUNCH_ADJACENT on the official Android documentation for more information.
LAUNCHED_FROM_HISTORY
LAUNCHED_FROM_HISTORY:
10
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1424
See FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY on the official Android documentation for more information.
MATCH_EXTERNAL
MATCH_EXTERNAL:
20
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1474
See FLAG_ACTIVITY_MATCH_EXTERNAL on the official Android documentation for more information.
MULTIPLE_TASK
MULTIPLE_TASK:
3
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1389
See FLAG_ACTIVITY_MULTIPLE_TASK on the official Android documentation for more information.
NEW_DOCUMENT
NEW_DOCUMENT:
12
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1434
See FLAG_ACTIVITY_NEW_DOCUMENT on the official Android documentation for more information.
NEW_TASK
NEW_TASK:
2
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1384
See FLAG_ACTIVITY_NEW_TASK on the official Android documentation for more information.
NO_ANIMATION
NO_ANIMATION:
15
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1449
See FLAG_ACTIVITY_NO_ANIMATION on the official Android documentation for more information.
NO_HISTORY
NO_HISTORY:
0
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1374
See FLAG_ACTIVITY_NO_HISTORY on the official Android documentation for more information.
NO_USER_ACTION
NO_USER_ACTION:
13
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1439
See FLAG_ACTIVITY_NO_USER_ACTION on the official Android documentation for more information.
PREVIOUS_IS_TOP
PREVIOUS_IS_TOP:
6
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1404
See FLAG_ACTIVITY_PREVIOUS_IS_TOP on the official Android documentation for more information.
REORDER_TO_FRONT
REORDER_TO_FRONT:
14
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1444
See FLAG_ACTIVITY_REORDER_TO_FRONT on the official Android documentation for more information.
RESET_TASK_IF_NEEDED
RESET_TASK_IF_NEEDED:
9
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1419
See FLAG_ACTIVITY_RESET_TASK_IF_NEEDED on the official Android documentation for more information.
RETAIN_IN_RECENTS
RETAIN_IN_RECENTS:
18
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1464
See FLAG_ACTIVITY_RETAIN_IN_RECENTS on the official Android documentation for more information.
SINGLE_TOP
SINGLE_TOP:
1
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1379
See FLAG_ACTIVITY_SINGLE_TOP on the official Android documentation for more information.
TASK_ON_HOME
TASK_ON_HOME:
17
Defined in: packages/react-native/src/types/NotificationAndroid.ts:1459
See FLAG_ACTIVITY_TASK_ON_HOME on the official Android documentation for more information.
