docs.unity3d.com
    Show / Hide Table of Contents

    Enum GameNotificationsManager.OperatingMode

    Namespace: NotificationSamples
    Syntax
    [Flags]
    public enum OperatingMode

    Fields

    Name Description Value
    ClearOnForegrounding

    When the application is foregrounded, clear all pending notifications.

    NoQueue

    Do not perform any queueing at all. All notifications are scheduled with the operating system immediately.

    Queue

    Queue messages that are scheduled with this manager. No messages will be sent to the operating system until the application is backgrounded.

    If badge numbers are not set, will automatically increment them. This will only happen if NO badge numbers for pending notifications are ever set.

    QueueAndClear

    Combines the behaviour of Queue and ClearOnForegrounding.

    QueueClearAndReschedule

    Combines the behaviour of Queue, ClearOnForegrounding and RescheduleAfterClearing.

    Ensures that messages will never be displayed while the application is in the foreground.

    RescheduleAfterClearing

    After clearing events, will put future ones back into the queue if they are marked with Reschedule.

    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