docs.unity3d.com
    Show / Hide Table of Contents

    Class PendingNotification

    Represents a notification that was scheduled with ScheduleNotification(IGameNotification).

    Inheritance
    Object
    PendingNotification
    Namespace: NotificationSamples
    Syntax
    public class PendingNotification

    Constructors

    PendingNotification(IGameNotification)

    Instantiate a new instance of PendingNotification from a IGameNotification.

    Declaration
    public PendingNotification(IGameNotification notification)
    Parameters
    Type Name Description
    IGameNotification notification

    The notification to create from.

    Fields

    Notification

    The scheduled notification.

    Declaration
    public readonly IGameNotification Notification
    Field Value
    Type Description
    IGameNotification

    Reschedule

    Whether to reschedule this event if it hasn't displayed once the app is foregrounded again.

    Declaration
    public bool Reschedule
    Field Value
    Type Description
    Boolean
    Remarks

    Only valid if the GameNotificationsManager's Mode flag is set to RescheduleAfterClearing.

    Will not function for any notifications that are using a delivery scheduling method that isn't time based, such as iOS location notifications.

    Back to top
    Terms of use
    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