Class CKFetchRecordsOperation

    • Constructor Detail

      • CKFetchRecordsOperation

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • fetchCurrentUserRecordOperation

        @NotNull
        public static @NotNull CKFetchRecordsOperation fetchCurrentUserRecordOperation()
      • 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)
      • 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()
      • desiredKeys

        @Nullable
        public @Nullable NSArray<java.lang.String> desiredKeys()
        Declares which user-defined keys should be fetched and added to the resulting CKRecords. If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
      • fetchRecordsCompletionBlock

        @Nullable
        public @Nullable CKFetchRecordsOperation.Block_fetchRecordsCompletionBlock_ret fetchRecordsCompletionBlock()
        This block is called when the operation completes. The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. [@c] recordsByRecordID and any @c CKPartialErrorsByItemIDKey errors are repeats of the data sent back in previous @c perRecordCompletionBlock invocations Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • perRecordCompletionBlock

        @Nullable
        public @Nullable CKFetchRecordsOperation.Block_perRecordCompletionBlock_ret perRecordCompletionBlock()
        Called on success or failure for each record. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • perRecordProgressBlock

        @Nullable
        public @Nullable CKFetchRecordsOperation.Block_perRecordProgressBlock_ret perRecordProgressBlock()
        Indicates the progress for each record. This method is called at least once with a progress of 1.0 for every record. Intermediate progress is only reported for records that contain assets. It is possible for progress to regress when a retry is automatically triggered. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • setDesiredKeys

        public void setDesiredKeys​(@Nullable
                                   @Nullable NSArray<java.lang.String> value)
        Declares which user-defined keys should be fetched and added to the resulting CKRecords. If nil, declares the entire record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
      • setFetchRecordsCompletionBlock

        public void setFetchRecordsCompletionBlock​(@Nullable
                                                   @Nullable CKFetchRecordsOperation.Block_setFetchRecordsCompletionBlock value)
        This block is called when the operation completes. The @code -[NSOperation completionBlock] @endcode will also be called if both are set. If the error is @c CKErrorPartialFailure, the error's userInfo dictionary contains a dictionary of recordIDs to errors keyed off of @c CKPartialErrorsByItemIDKey. [@c] recordsByRecordID and any @c CKPartialErrorsByItemIDKey errors are repeats of the data sent back in previous @c perRecordCompletionBlock invocations Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • setPerRecordCompletionBlock

        public void setPerRecordCompletionBlock​(@Nullable
                                                @Nullable CKFetchRecordsOperation.Block_setPerRecordCompletionBlock value)
        Called on success or failure for each record. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • setPerRecordProgressBlock

        public void setPerRecordProgressBlock​(@Nullable
                                              @Nullable CKFetchRecordsOperation.Block_setPerRecordProgressBlock value)
        Indicates the progress for each record. This method is called at least once with a progress of 1.0 for every record. Intermediate progress is only reported for records that contain assets. It is possible for progress to regress when a retry is automatically triggered. Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations. This block may share mutable state with other blocks assigned to this operation, but any such mutable state should not be concurrently used outside of blocks assigned to this operation.
      • setRecordIDs

        public void setRecordIDs​(@Nullable
                                 @Nullable NSArray<? extends CKRecordID> value)
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.