| Modifier and Type | Class and Description |
|---|---|
static interface |
NSMetadataQuery.Block_enumerateResultsUsingBlock |
static interface |
NSMetadataQuery.Block_enumerateResultsWithOptionsUsingBlock |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
NSMetadataQuery(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static NSMetadataQuery |
alloc() |
static NSMetadataQuery |
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() |
NSMetadataQueryDelegate |
delegate() |
static java.lang.String |
description_static() |
void |
disableUpdates()
these nest
|
void |
enableUpdates() |
void |
enumerateResultsUsingBlock(NSMetadataQuery.Block_enumerateResultsUsingBlock block) |
void |
enumerateResultsWithOptionsUsingBlock(long opts,
NSMetadataQuery.Block_enumerateResultsWithOptionsUsingBlock block) |
NSArray<? extends NSMetadataQueryResultGroup> |
groupedResults()
array of NSMetadataQueryResultGroups, for first grouping attribute
|
NSArray<java.lang.String> |
groupingAttributes() |
static long |
hash_static() |
long |
indexOfResult(java.lang.Object result) |
NSMetadataQuery |
init() |
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) |
boolean |
isGathering() |
boolean |
isStarted() |
boolean |
isStopped() |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static NSMetadataQuery |
new_objc() |
double |
notificationBatchingInterval() |
NSOperationQueue |
operationQueue()
items can be a mixture of NSMetadataItem, NSURL objects (file URLs only)
and/or string paths; the getter returns the same mixture as was set
|
NSPredicate |
predicate() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
java.lang.Object |
resultAtIndex(long idx) |
long |
resultCount()
Results are NSMetadataItems, or whatever the delegate replaces that with
|
NSArray<?> |
results()
this is for K-V Bindings, and causes side-effects on the query
|
NSArray<?> |
searchItems()
scopes is an NSArray of NSURL objects (file URLs only) and/or string
paths and/or the special string constants below, which specifies the
locations to which the search is limited; an empty array means no
limits, which is the default state.
|
NSArray<?> |
searchScopes() |
void |
setDelegate_unsafe(NSMetadataQueryDelegate value) |
void |
setDelegate(NSMetadataQueryDelegate value) |
void |
setGroupingAttributes(NSArray<java.lang.String> value) |
void |
setNotificationBatchingInterval(double value) |
void |
setOperationQueue(NSOperationQueue value)
items can be a mixture of NSMetadataItem, NSURL objects (file URLs only)
and/or string paths; the getter returns the same mixture as was set
|
void |
setPredicate(NSPredicate value) |
void |
setSearchItems(NSArray<?> value)
scopes is an NSArray of NSURL objects (file URLs only) and/or string
paths and/or the special string constants below, which specifies the
locations to which the search is limited; an empty array means no
limits, which is the default state.
|
void |
setSearchScopes(NSArray<?> value) |
void |
setSortDescriptors(NSArray<? extends NSSortDescriptor> value) |
void |
setValueListAttributes(NSArray<java.lang.String> value) |
static void |
setVersion_static(long aVersion) |
NSArray<? extends NSSortDescriptor> |
sortDescriptors() |
boolean |
startQuery()
optional operation queue for notifications and delegate method calls
|
void |
stopQuery() |
static org.moe.natj.objc.Class |
superclass_static() |
NSArray<java.lang.String> |
valueListAttributes() |
NSDictionary<java.lang.String,? extends NSArray<? extends NSMetadataQueryAttributeValueTuple>> |
valueLists()
values are arrays of NSMetadataQueryAttributeValueTuple
|
java.lang.Object |
valueOfAttributeForResultAtIndex(java.lang.String attrName,
long idx) |
static long |
version_static() |
accessibilityActivate, 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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static NSMetadataQuery alloc()
public static NSMetadataQuery 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 NSMetadataQuery 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 NSMetadataQueryDelegate delegate()
public void disableUpdates()
public void enableUpdates()
public void enumerateResultsUsingBlock(NSMetadataQuery.Block_enumerateResultsUsingBlock block)
public void enumerateResultsWithOptionsUsingBlock(long opts,
NSMetadataQuery.Block_enumerateResultsWithOptionsUsingBlock block)
public NSArray<? extends NSMetadataQueryResultGroup> groupedResults()
public NSArray<java.lang.String> groupingAttributes()
public long indexOfResult(java.lang.Object result)
public NSMetadataQuery init()
public boolean isGathering()
public boolean isStarted()
public boolean isStopped()
public double notificationBatchingInterval()
public NSOperationQueue operationQueue()
public NSPredicate predicate()
public java.lang.Object resultAtIndex(long idx)
public long resultCount()
public NSArray<?> results()
public NSArray<?> searchItems()
public NSArray<?> searchScopes()
public void setDelegate_unsafe(NSMetadataQueryDelegate value)
public void setDelegate(NSMetadataQueryDelegate value)
public void setGroupingAttributes(NSArray<java.lang.String> value)
public void setNotificationBatchingInterval(double value)
public void setOperationQueue(NSOperationQueue value)
public void setPredicate(NSPredicate value)
public void setSearchItems(NSArray<?> value)
public void setSearchScopes(NSArray<?> value)
public void setSortDescriptors(NSArray<? extends NSSortDescriptor> value)
public void setValueListAttributes(NSArray<java.lang.String> value)
public NSArray<? extends NSSortDescriptor> sortDescriptors()
public boolean startQuery()
public void stopQuery()
public NSArray<java.lang.String> valueListAttributes()
public NSDictionary<java.lang.String,? extends NSArray<? extends NSMetadataQueryAttributeValueTuple>> valueLists()
public java.lang.Object valueOfAttributeForResultAtIndex(java.lang.String attrName,
long idx)