Class UNNotificationInterruptionLevel


  • public final class UNNotificationInterruptionLevel
    extends java.lang.Object
    API-Since: 15.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Active
      Presented immediately; Lights up screen and may play a sound API-Since: 15.0
      static long Critical
      Presented immediately; Lights up screen and plays sound; Always presented during Do Not Disturb; Bypasses mute switch; Includes default critical alert sound if no sound provided API-Since: 15.0
      static long Passive
      Added to the notification list; does not light up screen or play sound API-Since: 15.0
      static long TimeSensitive
      Presented immediately; Lights up screen and may play a sound; May be presented during Do Not Disturb API-Since: 15.0
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Passive

        public static final long Passive
        Added to the notification list; does not light up screen or play sound API-Since: 15.0
        See Also:
        Constant Field Values
      • Active

        public static final long Active
        Presented immediately; Lights up screen and may play a sound API-Since: 15.0
        See Also:
        Constant Field Values
      • TimeSensitive

        public static final long TimeSensitive
        Presented immediately; Lights up screen and may play a sound; May be presented during Do Not Disturb API-Since: 15.0
        See Also:
        Constant Field Values
      • Critical

        public static final long Critical
        Presented immediately; Lights up screen and plays sound; Always presented during Do Not Disturb; Bypasses mute switch; Includes default critical alert sound if no sound provided API-Since: 15.0
        See Also:
        Constant Field Values