Notification action

A decision block that present action buttons in a status bar notification and wait until the user clicks any of them.

The fiber will pause until the user clicked an action button, cancelled the notification or the timeout expired.

Use the Notification show block with proceed Immediately prior to this block.

When an action button has been clicked, the Action index variable is assign with its index, all buttons are removed while leaving the notification visible as the block proceed through the YES path. The NO path is executed if the notification was cancelled or hidden prior to or during this block, or the timeout expired.

Note! This feature require an Android 4.1+ device. The action icons may not be displayed on Android 8+.

Input arguments

Output variables