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
Assembly: solution.dll
Syntax
public enum NotificationInterruptionLevel
Fields
Name | Description |
---|---|
Active | Default level. The system presents the notification immediately, lights up the screen, and can play a sound. |
Critical | The system presents the notification immediately, lights up the screen, and bypasses the mute switch to play a sound. |
Passive | The system adds the notification to the notification list without lighting up the screen or playing a sound. |
TimeSensitive | The system presents the notification immediately, lights up the screen, and can play a sound, but won’t break through system notification controls. |