Struct iOSNotificationCalendarTrigger | Mobile Notifications | 1.0.4-preview.9
docs.unity3d.com
    Show / Hide Table of Contents

    Struct iOSNotificationCalendarTrigger

    A trigger condition that causes a notification to be delivered at a specific date and time.

    Namespace: Unity.Notifications.iOS
    Syntax
    public struct iOSNotificationCalendarTrigger : iOSNotificationTrigger
    Remarks

    Create an instance of iOSNotificationCalendarTrigger when you want to schedule the delivery of a local notification at the specified date and time. You are not required to set all of the fields because the system uses the provided information to determine the next date and time that matches the specified information automatically.

    Properties

    Day

    Day

    Declaration
    public int? Day { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    Hour

    Hour

    Declaration
    public int? Hour { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    Minute

    Minute

    Declaration
    public int? Minute { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    Month

    Month

    Declaration
    public int? Month { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    Repeats

    Indicate whether the notification is repeated every defined time period. For instance if hour and minute fields are set the notification will be triggered every day at the specified hour and minute.

    Declaration
    public bool Repeats { get; set; }
    Property Value
    Type Description
    Boolean

    Second

    Second

    Declaration
    public int? Second { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    Type

    Declaration
    public static int Type { get; }
    Property Value
    Type Description
    Int32

    Year

    Year

    Declaration
    public int? Year { get; set; }
    Property Value
    Type Description
    Nullable<Int32>
    In This Article
    • Properties
      • Day
      • Hour
      • Minute
      • Month
      • Repeats
      • Second
      • Type
      • Year
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023