Class CKFetchShareMetadataOperation

  • All Implemented Interfaces:
    NSObject

    public class CKFetchShareMetadataOperation
    extends CKOperation
    CKFetchShareMetadataOperation Fetch the @c CKShareMetadata for a share URL. Since you can't know what container this share is in before you fetch its metadata, you may run this operation in any container you have access to API-Since: 10.0
    • Constructor Detail

      • CKFetchShareMetadataOperation

        protected CKFetchShareMetadataOperation​(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()
      • 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()
      • fetchShareMetadataCompletionBlock

        @Nullable
        public @Nullable CKFetchShareMetadataOperation.Block_fetchShareMetadataCompletionBlock_ret fetchShareMetadataCompletionBlock()
        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 shareURLs to errors keyed off of @c CKPartialErrorsByItemIDKey. These errors are repeats of those sent back in previous @c perShareMetadataBlock 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.
      • perShareMetadataBlock

        @Nullable
        public @Nullable CKFetchShareMetadataOperation.Block_perShareMetadataBlock_ret perShareMetadataBlock()
        Called once for each share URL that the server processed 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.
      • rootRecordDesiredKeys

        @Nullable
        public @Nullable NSArray<java.lang.String> rootRecordDesiredKeys()
        Declares which user-defined keys should be fetched and added to the resulting @c rootRecord. Only consulted if @c shouldFetchRootRecord is @c YES. If nil, declares the entire root record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
      • setFetchShareMetadataCompletionBlock

        public void setFetchShareMetadataCompletionBlock​(@Nullable
                                                         @Nullable CKFetchShareMetadataOperation.Block_setFetchShareMetadataCompletionBlock 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 shareURLs to errors keyed off of @c CKPartialErrorsByItemIDKey. These errors are repeats of those sent back in previous @c perShareMetadataBlock 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.
      • setPerShareMetadataBlock

        public void setPerShareMetadataBlock​(@Nullable
                                             @Nullable CKFetchShareMetadataOperation.Block_setPerShareMetadataBlock value)
        Called once for each share URL that the server processed 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.
      • setRootRecordDesiredKeys

        public void setRootRecordDesiredKeys​(@Nullable
                                             @Nullable NSArray<java.lang.String> value)
        Declares which user-defined keys should be fetched and added to the resulting @c rootRecord. Only consulted if @c shouldFetchRootRecord is @c YES. If nil, declares the entire root record should be downloaded. If set to an empty array, declares that no user fields should be downloaded. Defaults to @c nil.
      • setShareURLs

        public void setShareURLs​(@Nullable
                                 @Nullable NSArray<? extends NSURL> value)
      • setShouldFetchRootRecord

        public void setShouldFetchRootRecord​(boolean value)
        If set to YES, the resulting @c CKShareMetadata will have a @c rootRecord object filled out. Defaults to @c NO. The resulting @c CKShareMetadata will have a @c rootRecordID property regardless of the value of this property.
      • shareURLs

        @Nullable
        public @Nullable NSArray<? extends NSURL> shareURLs()
      • shouldFetchRootRecord

        public boolean shouldFetchRootRecord()
        If set to YES, the resulting @c CKShareMetadata will have a @c rootRecord object filled out. Defaults to @c NO. The resulting @c CKShareMetadata will have a @c rootRecordID property regardless of the value of this property.
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.