System.Notification.TNotification.RepeatInterval
Delphi
RepeatInterval: TRepeatInterval;
C++
TRepeatInterval RepeatInterval;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
field | public | System.Notification.pas System.Notification.hpp |
System.Notification | TNotification |
Description
The interval for a repeating notification.
Usually, you can set a repeat interval when you schedule a notification. Default is None
.
Possible values are:
None
: This value specifies a non-repeating notificationSecond
: A second.Minute
: A minute.Hour
: An hour.Day
: A day.Week
: A week.Weekday
: A day in the week.Month
: A month.Quarter
: A quarter. One quarter equals 3 months.Year
: A year.Era
: A special calendar unit for specific cases. For example, a different era may help to distinguish betweenBC
andAC
in the Gregorian calendar on iOS. See iOS Developer Library - Historical Dates
If you wish to use another custom interval, you may combine several notifications to achieve that. For example, if you want to show a notification every 30 minutes, you will need to create two notifications with the repeat interval of an Hour
and set the FireDate of the second notification to 30 minutes after the first notification.
See more information about repeating notifications.
See Also
- Using Notifications
- System.Notification.TNotification.AlertAction
- System.Notification.TNotification.AlertBody
- System.Notification.TNotification.EnableSound
- System.Notification.TNotification.FireDate
- System.Notification.TNotification.HasAction
- System.Notification.TNotification.Name
- System.Notification.TNotification.Number
- System.Notification.TNotification.SoundName
- System.Notification.TNotification.Title