Class UserNotifications


  • public final class UserNotifications
    extends java.lang.Object
    • Field Detail

      • UNNotificationActionOptionNone

        public static final long UNNotificationActionOptionNone
        API-Since: 10.0
        See Also:
        Constant Field Values
      • UNAuthorizationOptionNone

        public static final long UNAuthorizationOptionNone
        API-Since: 10.0
        See Also:
        Constant Field Values
      • UNNotificationPresentationOptionNone

        public static final long UNNotificationPresentationOptionNone
        API-Since: 10.0
        See Also:
        Constant Field Values
      • UNNotificationCategoryOptionNone

        public static final long UNNotificationCategoryOptionNone
        API-Since: 10.0
        See Also:
        Constant Field Values
    • Method Detail

      • UNErrorDomain

        public static java.lang.String UNErrorDomain()
        API-Since: 10.0
      • UNNotificationAttachmentOptionsTypeHintKey

        @NotNull
        public static @NotNull java.lang.String UNNotificationAttachmentOptionsTypeHintKey()
        Key to manually provide a type hint for the attachment. If not set the type hint will be guessed from the attachment's file extension. Value must be an NSString. API-Since: 10.0
      • UNNotificationAttachmentOptionsThumbnailHiddenKey

        @NotNull
        public static @NotNull java.lang.String UNNotificationAttachmentOptionsThumbnailHiddenKey()
        Key to specify if the thumbnail for this attachment is hidden. Defaults to NO. Value must be a boolean NSNumber. API-Since: 10.0
      • UNNotificationAttachmentOptionsThumbnailClippingRectKey

        @NotNull
        public static @NotNull java.lang.String UNNotificationAttachmentOptionsThumbnailClippingRectKey()
        Key to specify a normalized clipping rectangle to use for the attachment thumbnail. Value must be a CGRect encoded using CGRectCreateDictionaryRepresentation. API-Since: 10.0
      • UNNotificationAttachmentOptionsThumbnailTimeKey

        @NotNull
        public static @NotNull java.lang.String UNNotificationAttachmentOptionsThumbnailTimeKey()
        Key to specify the animated image frame number or the movie time to use as the thumbnail. An animated image frame number must be an NSNumber. A movie time must either be an NSNumber with the time in seconds or a CMTime encoded using CMTimeCopyAsDictionary. API-Since: 10.0
      • UNNotificationDefaultActionIdentifier

        @NotNull
        public static @NotNull java.lang.String UNNotificationDefaultActionIdentifier()
        API-Since: 10.0
      • UNNotificationDismissActionIdentifier

        @NotNull
        public static @NotNull java.lang.String UNNotificationDismissActionIdentifier()
        API-Since: 10.0