docs.unity3d.com
    Show / Hide Table of Contents

    Interface IPendingNotificationsSerializer

    Responsible for the serialization and deserialization of pending notifications for a GameNotificationsManager that is in RescheduleAfterClearing mode.

    Namespace: NotificationSamples
    Syntax
    public interface IPendingNotificationsSerializer

    Methods

    Deserialize(IGameNotificationsPlatform)

    Retrieve a saved list of pending notifications.

    Declaration
    IList<IGameNotification> Deserialize(IGameNotificationsPlatform platform)
    Parameters
    Type Name Description
    IGameNotificationsPlatform platform
    Returns
    Type Description
    IList<IGameNotification>

    The deserialized collection of pending notifications, or null if the file did not exist.

    Serialize(IList<PendingNotification>)

    Save a list of pending notifications.

    Declaration
    void Serialize(IList<PendingNotification> notifications)
    Parameters
    Type Name Description
    IList<PendingNotification> notifications

    The collection notifications to save.

    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