public class CKFetchShareMetadataOperation extends CKOperation
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
| Modifier and Type | Class and Description |
|---|---|
static interface |
CKFetchShareMetadataOperation.Block_fetchShareMetadataCompletionBlock_ret |
static interface |
CKFetchShareMetadataOperation.Block_perShareMetadataBlock_ret |
static interface |
CKFetchShareMetadataOperation.Block_setFetchShareMetadataCompletionBlock |
static interface |
CKFetchShareMetadataOperation.Block_setPerShareMetadataBlock |
CKOperation.Block_longLivedOperationWasPersistedBlock_ret, CKOperation.Block_setLongLivedOperationWasPersistedBlockNSOperation.Block_completionBlock_ret, NSOperation.Block_setCompletionBlockNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
CKFetchShareMetadataOperation(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static CKFetchShareMetadataOperation |
alloc() |
static CKFetchShareMetadataOperation |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
CKFetchShareMetadataOperation.Block_fetchShareMetadataCompletionBlock_ret |
fetchShareMetadataCompletionBlock()
This block is called when the operation completes.
|
static long |
hash_static() |
CKFetchShareMetadataOperation |
init() |
CKFetchShareMetadataOperation |
initWithShareURLs(NSArray<? extends NSURL> shareURLs) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static CKFetchShareMetadataOperation |
new_objc() |
CKFetchShareMetadataOperation.Block_perShareMetadataBlock_ret |
perShareMetadataBlock()
Called once for each share URL that the server processed
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSArray<java.lang.String> |
rootRecordDesiredKeys()
Declares which user-defined keys should be fetched and added to the resulting @c rootRecord.
|
void |
setFetchShareMetadataCompletionBlock(CKFetchShareMetadataOperation.Block_setFetchShareMetadataCompletionBlock value)
This block is called when the operation completes.
|
void |
setPerShareMetadataBlock(CKFetchShareMetadataOperation.Block_setPerShareMetadataBlock value)
Called once for each share URL that the server processed
|
void |
setRootRecordDesiredKeys(NSArray<java.lang.String> value)
Declares which user-defined keys should be fetched and added to the resulting @c rootRecord.
|
void |
setShareURLs(NSArray<? extends NSURL> value) |
void |
setShouldFetchRootRecord(boolean value)
If set to YES, the resulting @c CKShareMetadata will have a @c rootRecord object filled out.
|
static void |
setVersion_static(long aVersion) |
NSArray<? extends NSURL> |
shareURLs() |
boolean |
shouldFetchRootRecord()
If set to YES, the resulting @c CKShareMetadata will have a @c rootRecord object filled out.
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
allowsCellularAccess, configuration, container, group, isLongLived, longLivedOperationWasPersistedBlock, operationID, setAllowsCellularAccess, setConfiguration, setContainer, setGroup, setLongLived, setLongLivedOperationWasPersistedBlock, setTimeoutIntervalForRequest, setTimeoutIntervalForResource, timeoutIntervalForRequest, timeoutIntervalForResourceaddDependency, cancel, completionBlock, dependencies, isAsynchronous, isCancelled, isConcurrent, isExecuting, isFinished, isReady, main, name, qualityOfService, queuePriority, removeDependency, setCompletionBlock, setName, setQualityOfService, setQueuePriority, setThreadPriority, start, threadPriority, waitUntilFinishedaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected CKFetchShareMetadataOperation(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static CKFetchShareMetadataOperation alloc()
public static CKFetchShareMetadataOperation allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static CKFetchShareMetadataOperation new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public CKFetchShareMetadataOperation.Block_fetchShareMetadataCompletionBlock_ret fetchShareMetadataCompletionBlock()
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.
public CKFetchShareMetadataOperation init()
init in class CKOperationpublic CKFetchShareMetadataOperation initWithShareURLs(NSArray<? extends NSURL> shareURLs)
public CKFetchShareMetadataOperation.Block_perShareMetadataBlock_ret perShareMetadataBlock()
Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public NSArray<java.lang.String> rootRecordDesiredKeys()
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.
public void setFetchShareMetadataCompletionBlock(CKFetchShareMetadataOperation.Block_setFetchShareMetadataCompletionBlock value)
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.
public void setPerShareMetadataBlock(CKFetchShareMetadataOperation.Block_setPerShareMetadataBlock value)
Each @c CKOperation instance has a private serial queue. This queue is used for all callback block invocations.
public void setRootRecordDesiredKeys(NSArray<java.lang.String> value)
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.
public void setShouldFetchRootRecord(boolean value)
Defaults to @c NO. The resulting @c CKShareMetadata will have a @c rootRecordID property regardless of the value of this property.
public boolean shouldFetchRootRecord()
Defaults to @c NO. The resulting @c CKShareMetadata will have a @c rootRecordID property regardless of the value of this property.