docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct NotificationIntervalSchedule

    Schedule notification to show up after a certain amount of time, optionally repeating at the same time interval.

    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 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 { 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 { get; set; }
    Property Value
    Type Description
    bool

    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)