Interface: IntervalTrigger

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

View the Triggers documentation to learn more.

Properties

interval

interval: number

How frequently the notification should be repeated.

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

Must be set to a minimum of 15 minutes.

timeUnit?

optional timeUnit: TimeUnit

The unit of time that the interval is measured in.

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

type: INTERVAL

Constant enum value used to identify the trigger type.