Struct NotificationDateTimeSchedule
Schedule to show notification at particular date and time. Optionally can repeat at predefined intervals.
Implements
Inherited Members
Namespace: Unity.Notifications
Assembly: Unity.Notifications.Unified.dll
Syntax
public struct NotificationDateTimeSchedule : NotificationSchedule
Constructors
NotificationDateTimeSchedule(DateTime, NotificationRepeatInterval)
Convenience constructor.
Declaration
public NotificationDateTimeSchedule(DateTime fireTime, NotificationRepeatInterval repeatInterval = NotificationRepeatInterval.OneTime)
Parameters
Type | Name | Description |
---|---|---|
DateTime | fireTime | Value for FireTime |
NotificationRepeatInterval | repeatInterval | Value for RepeatInterval |
Properties
FireTime
Date and time when notification has to be shown if does not repeat. If notification is set to repeat, the meaning of this value depends on NotificationRepeatInterval.
Declaration
public DateTime FireTime { readonly get; set; }
Property Value
Type | Description |
---|---|
DateTime |
RepeatInterval
Interval, at which notification should repeat from the first delivery.
Declaration
public NotificationRepeatInterval RepeatInterval { readonly get; set; }
Property Value
Type | Description |
---|---|
NotificationRepeatInterval |