Enum NotificationInterruptionLevel
Importance and delivery timing of a notification. For more information, refer to Apple documentation. UNNotificationInterruptionLevel is available since iOS version 15. On versions earlier than iOS 15, the interruption level is always active.
Namespace: Unity.Notifications.iOS
Assembly: Unity.Notifications.iOS.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. |