docs.unity.cn
    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
    Generated by DocFX
    on Thursday, July 20, 2023