docs.unity3d.com
    Show / Hide Table of Contents

    Enum NotificationInterruptionLevel

    Importance and delivery timing of a notification. See Apple documentation for details. Available since iOS 15, always Active on lower versions. https://developer.apple.com/documentation/usernotifications/unnotificationinterruptionlevel?language=objc

    Namespace: Unity.Notifications.iOS
    Syntax
    public enum NotificationInterruptionLevel

    Fields

    Name Description Value
    Active

    Default level. The system presents the notification immediately, lights up the screen, and can play a sound.


    0
    Critical

    The system presents the notification immediately, lights up the screen, and bypasses the mute switch to play a sound.


    1
    Passive

    The system adds the notification to the notification list without lighting up the screen or playing a sound.


    2
    TimeSensitive

    The system presents the notification immediately, lights up the screen, and can play a sound, but won’t break through system notification controls.


    3
    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