IntervalTrigger

Interface for building a trigger that repeats at a specified interval.


View the Triggers documentation to learn more.

Properties

interval

How frequently the notification should be repeated.

interval: number;

For example, if set to 30, the notification will be displayed every 30 minutes.

Must be set to a minimum of 15 minutes.

timeUnit

The unit of time that the interval is measured in.

timeUnit?: TimeUnit | SECONDS;

For example, if set to TimeUnit.DAYS and repeat interval is set to 3, the notification will repeat every 3 days.

Defaults to TimeUnit.SECONDS

type

Constant enum value used to identify the trigger type.

type: INTERVAL;

Copyright 2020 © 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.