Class UNNotificationCategoryOptions


  • public final class UNNotificationCategoryOptions
    extends java.lang.Object
    API-Since: 10.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long AllowAnnouncement
      Deprecated.
      static long AllowInCarPlay
      Whether notifications of this category should be allowed in CarPlay
      static long CustomDismissAction
      Whether dismiss action should be sent to the UNUserNotificationCenter delegate API-Since: 10.0
      static long HiddenPreviewsShowSubtitle
      Whether the subtitle should be shown if the user has previews off API-Since: 11.0
      static long HiddenPreviewsShowTitle
      Whether the title should be shown if the user has previews off API-Since: 11.0
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • CustomDismissAction

        public static final long CustomDismissAction
        Whether dismiss action should be sent to the UNUserNotificationCenter delegate API-Since: 10.0
        See Also:
        Constant Field Values
      • AllowInCarPlay

        public static final long AllowInCarPlay
        Whether notifications of this category should be allowed in CarPlay
        See Also:
        Constant Field Values
      • HiddenPreviewsShowTitle

        public static final long HiddenPreviewsShowTitle
        Whether the title should be shown if the user has previews off API-Since: 11.0
        See Also:
        Constant Field Values
      • HiddenPreviewsShowSubtitle

        public static final long HiddenPreviewsShowSubtitle
        Whether the subtitle should be shown if the user has previews off API-Since: 11.0
        See Also:
        Constant Field Values
      • AllowAnnouncement

        @Deprecated
        public static final long AllowAnnouncement
        Deprecated.
        Whether notifications of this category should be allowed for announcing notifications API-Since: 13.0 Deprecated-Since: 15.0 Deprecated-Message: Announcement option is ignored
        See Also:
        Constant Field Values