TimestampTrigger
Interface for building a trigger with a timestamp.
View the Triggers documentation to learn more.
Choose to schedule your trigger notification with Android's AlarmManager API.
alarmManager?: boolean | TimestampTriggerAlarmManager | undefined;
By default, trigger notifications are created with Android's WorkManager API.
The frequency at which the trigger repeats. If unset, the notification will only be displayed once.
repeatFrequency?: RepeatFrequency;
For example:
if set to RepeatFrequency.HOURLY
, the notification will repeat every hour from the timestamp specified.
if set to RepeatFrequency.DAILY
, the notification will repeat every day from the timestamp specified.
if set to RepeatFrequency.WEEKLY
, the notification will repeat every week from the timestamp specified.
The timestamp when the notification should first be shown, in milliseconds since 1970.
timestamp: number;
Constant enum value used to identify the trigger type.
type: TIMESTAMP;
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.