Class CKNotification

    • Constructor Detail

      • CKNotification

        protected CKNotification​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CKNotification allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • notificationFromRemoteNotificationDictionary

        public static CKNotification notificationFromRemoteNotificationDictionary​(@NotNull
                                                                                  @NotNull NSDictionary<?,​?> notificationDictionary)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • alertActionLocalizationKey

        @Deprecated
        @Nullable
        public @Nullable java.lang.String alertActionLocalizationKey()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • alertBody

        @Deprecated
        @Nullable
        public @Nullable java.lang.String alertBody()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • alertLaunchImage

        @Deprecated
        @Nullable
        public @Nullable java.lang.String alertLaunchImage()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • alertLocalizationArgs

        @Deprecated
        @Nullable
        public @Nullable NSArray<java.lang.String> alertLocalizationArgs()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • alertLocalizationKey

        @Deprecated
        @Nullable
        public @Nullable java.lang.String alertLocalizationKey()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • badge

        @Deprecated
        @Nullable
        public @Nullable NSNumber badge()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • category

        @Nullable
        public @Nullable java.lang.String category()
        API-Since: 9.0
      • containerIdentifier

        @Nullable
        public @Nullable java.lang.String containerIdentifier()
      • isPruned

        public boolean isPruned()
        Whether or not the notification fully represents what the server wanted to send. Push notifications have a limited size. In some cases, CloudKit servers may not be able to send you a full `CKNotification`'s worth of info in one push. In those cases, `isPruned` returns `true`. The order in which properties are dropped from a push notification is defined in each `CKNotification` subclass below.
      • notificationType

        public long notificationType()
        When you instantiate a `CKNotification` from a remote notification dictionary, you will get back a concrete subclass defined below. Use `notificationType` to avoid `as?` or `-isKindOfClass:` checks.
      • soundName

        @Deprecated
        @Nullable
        public @Nullable java.lang.String soundName()
        Deprecated.
        API-Since: 8.0 Deprecated-Since: 17.0 Deprecated-Message: Interact with UI elements of a CloudKit-server-generated push message via UserNotifications.framework
      • subscriptionID

        @Nullable
        public @Nullable java.lang.String subscriptionID()
        The ID of the subscription that caused this notification to fire. API-Since: 9.0
      • subtitle

        @Nullable
        public @Nullable java.lang.String subtitle()
        API-Since: 11.0
      • subtitleLocalizationArgs

        @Nullable
        public @Nullable NSArray<java.lang.String> subtitleLocalizationArgs()
        API-Since: 11.0
      • subtitleLocalizationKey

        @Nullable
        public @Nullable java.lang.String subtitleLocalizationKey()
        API-Since: 11.0
      • title

        @Nullable
        public @Nullable java.lang.String title()
        API-Since: 11.0
      • titleLocalizationArgs

        @Nullable
        public @Nullable NSArray<java.lang.String> titleLocalizationArgs()
        API-Since: 11.0
      • titleLocalizationKey

        @Nullable
        public @Nullable java.lang.String titleLocalizationKey()
        API-Since: 11.0
      • subscriptionOwnerUserRecordID

        @Nullable
        public @Nullable CKRecordID subscriptionOwnerUserRecordID()
        The user `recordID` of the owner of the subscription for which this notification was generated API-Since: 13.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.