Struct NotificationIntervalSchedule
Schedule notification to show up after a certain amount of time, optionally repeating at the same time interval.
Implements
Inherited Members
Namespace: Unity.Notifications
Assembly: Unity.Notifications.Unified.dll
Syntax
public struct NotificationIntervalSchedule : NotificationSchedule
Constructors
NotificationIntervalSchedule(TimeSpan, bool)
Convenience constructor.
Declaration
public NotificationIntervalSchedule(TimeSpan interval, bool repeats = false)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | interval | Value for Interval |
bool | repeats | Value for Repeats |
Properties
Interval
Time interval to show notification from current time. Only full seconds are considered.
Declaration
public TimeSpan Interval { readonly get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
Repeats
Whether notification should repeat. If true, notification will repeat at the same interval as initial time from the current one.
Declaration
public bool Repeats { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |