Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

Duration pick

A decision block that lets the user choose a duration time.

The fiber will pause until the user has chosen a duration, cancelled the dialog or the timeout expired.

Input arguments

  • Seconds precision — whether to show a field for seconds input.
  • Signed — whether to allow a negative input, result duration.
  • Initial duration — initially entered duration, default is none.
  • Timeout — time until the notification/dialog is automatically canceled, may be inaccurate as it’s affected power save features such as “doze”, default is no timeout.
  • Notification channelUUID of notification channel used for shown notification, default is the flow default or Flow.
  • Show window — whether to show the dialog window directly without having to tap the notification. Requires the “appear atop of other apps or parts of the screen” privilege on Android 10+.

Output variables

  • Duration — variable to assign the chosen duration in seconds.
Note! This documentation is also accessible within the app from Help & feedback menu.