docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NotificationDateTimeSchedule

    Schedule to show notification at particular date and time. Optionally can repeat at predefined intervals.

    Implements
    NotificationSchedule
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Notifications
    Assembly: solution.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 { get; set; }
    Property Value
    Type Description
    DateTime

    RepeatInterval

    Interval, at which notification should repeat from the first delivery.

    Declaration
    public NotificationRepeatInterval RepeatInterval { get; set; }
    Property Value
    Type Description
    NotificationRepeatInterval

    Implements

    NotificationSchedule
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)