A decision block that checks if a status bar notification is posted.
If the proceed option is set to Immediately (Android 4.3+), then instantly check if there’s a notification currently posted, or not, without pausing the fiber. If set to When transition, then the fiber will pause until a notification has been posted or updated and proceed through the YES path or has been removed (Android 4.3+) and proceed through the NO path.
Some apps post notifications where the title and/or message includes invisible BiDi characters that may affect matches and other text comparison.
Group summary notifications usually lack any useful information and may interfere with the processing of proper notifications, use the exclude flags to exclude them. Since Android 16 all notifications from an app are grouped by default, which cause summaries.
If the picture path is specified then it must include a filename where to save an JPEG image of the picture shown in “big picture style”. The file is overwritten every time a new notification with a picture is posted, so either give it a unique filename each time or move it before returning to the block. Use carefully so as not to fill up device storage. The image may be down-scaled by the system to conserve memory.
The index input argument can be used to iterate over every currently posted notification that match, i.e. proceed option is set to Immediately, by starting at 0, increment by 1 for the YES path, until the NO path is taken. A notification may be skipped or repeated if a new notification is posted while iterating.
| Value | Description |
|---|---|
0x000001 | clicked |
0x000002 | user dismissal |
0x000004 | user dismissed all |
0x000008 | inflation error |
0x000010 | package manager modifying app package |
0x000020 | owning user context being stopped |
0x000040 | user banning the package |
0x000080 | owning app cancelling |
0x000100 | owning app cancelled all |
0x000200 | other app dismissal |
0x000400 | other app dismissed all |
0x000800 | member of a canceled group |
0x001000 | invisible member of a group |
0x002000 | device administrator suspending app package |
0x004000 | managed profile turned off |
0x008000 | unbundled summary |
0x010000 | user banning the channel |
0x020000 | snoozed |
0x040000 | timeout |
0x080000 | channel removed (Android 12+) |
0x100000 | cleared app data (Android 12+) |
0x200000 | assistant adjustment update cancelling (Android 13+) |
0x800000 | device lockdown mode cancelling (Android 14+) |
Note! This feature isn’t officially supported until Android 4.3+, on lower versions checking the currently posted or waiting for removed notifications are not supported.
mailto:, tel: or name: URIs of persons relevant to this notification.