Class CSUserQuery

    • Constructor Detail

      • CSUserQuery

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CSUserQuery 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()
      • foundSuggestionCount

        public long foundSuggestionCount()
        The query will update the count before each foundSuggestionsHandler invocation to reflect the number of suggestions found so far; if foundSuggestionsHandler is nil then the count will be zero.
      • foundSuggestionsHandler

        @Nullable
        public @Nullable CSUserQuery.Block_foundSuggestionsHandler_ret foundSuggestionsHandler()
        The foundSuggestionsHandler may be invoked additional times as new suggestions are generated, but the value will always be a complete, ordered list. The query serializes all the foundSuggestionsHandler invocations. If no handler is set, suggestions will not be generated.
      • hash_static

        public static long hash_static()
      • initWithQueryStringAttributes

        public CSUserQuery initWithQueryStringAttributes​(@NotNull
                                                         @NotNull java.lang.String queryString,
                                                         @Nullable
                                                         @Nullable NSArray<java.lang.String> attributes)
        Description copied from class: CSSearchQuery
        queryString: The query string (e.g., 'contentType == "public.email-message" && subject != "Re:*"') attributes: The attributes to be fetched for the searchable items
        Overrides:
        initWithQueryStringAttributes in class CSSearchQuery
      • initWithUserQueryStringUserQueryContext

        public CSUserQuery initWithUserQueryStringUserQueryContext​(@Nullable
                                                                   @Nullable java.lang.String userQueryString,
                                                                   @Nullable
                                                                   @Nullable CSUserQueryContext userQueryContext)
      • 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)
      • setFoundSuggestionsHandler

        public void setFoundSuggestionsHandler​(@Nullable
                                               @Nullable CSUserQuery.Block_setFoundSuggestionsHandler value)
        The foundSuggestionsHandler may be invoked additional times as new suggestions are generated, but the value will always be a complete, ordered list. The query serializes all the foundSuggestionsHandler invocations. If no handler is set, suggestions will not be generated.
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.