react-native-notify-kit / IntervalTrigger
Interface: IntervalTrigger
Defined in: packages/react-native/src/types/Trigger.ts:133
Interface for building a trigger that repeats at a specified interval.
View the Triggers documentation to learn more.
interval
interval:
number
Defined in: packages/react-native/src/types/Trigger.ts:146
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?
optionaltimeUnit?:TimeUnit
Defined in: packages/react-native/src/types/Trigger.ts:155
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
Defined in: packages/react-native/src/types/Trigger.ts:137
Constant enum value used to identify the trigger type.
