CoreSpotlight iOS 15.5 to 16.0 API Differences

CSSearchableIndex.h
Added -[CSSearchableIndex provideDataForBundle:identifier:type:completionHandler:]
CSSearchableItemAttributeSet_Messaging.h
Added CSSearchableItemAttributeSet.potentialEventMessage
CSSearchQuery.h
Added CSSearchQuerySourceOptions
Added CSSearchQuerySourceOptionDefault
Added CSSearchQuerySourceOptionAllowMail
Added CSSearchQueryContext
Added CSSearchQueryContext.fetchAttributes
Added CSSearchQueryContext.protectionClasses
Added CSSearchQueryContext.filterQueries
Added CSSearchQueryContext.keyboardLanguage
Added CSSearchQueryContext.sourceOptions
Added -[CSSearchQuery initWithQueryString:queryContext:]
Modified CSSearchQueryErrorDomain
Declaration
FromCS_TVOS_UNAVAILABLE NSString *const CSSearchQueryErrorDomain
ToCS_TVOS_UNAVAILABLE const NSErrorDomain CSSearchQueryErrorDomain

CSSuggestion.h
Added CSSuggestionHighlightAttributeName
Added CSSuggestionKind
Added CSSuggestionKindNone
Added CSSuggestionKindCustom
Added CSSuggestionKindDefault
Added CSSuggestion
Added CSSuggestion.localizedAttributedSuggestion
Added CSSuggestion.suggestionKind
Added -[CSSuggestion compare:]
CSUserQuery.h
Added CSUserQueryContext
Added +[CSUserQueryContext userQueryContext]
Added +[CSUserQueryContext userQueryContextWithCurrentSuggestion:]
Added CSUserQueryContext.maxSuggestionCount
Added CSUserQuery
Added -[CSUserQuery initWithUserQueryString:queryContext:]
Added CSUserQuery.foundSuggestionCount
Added CSUserQuery.foundSuggestionsHandler
Added -[CSUserQuery start]
Added -[CSUserQuery cancel]
Added CSTopHitQueryContext
Added +[CSTopHitQueryContext topHitQueryContext]
Added +[CSTopHitQueryContext topHitQueryContextWithCurrentSuggestion:]
Added CSTopHitQueryContext.maxItemCount
Added CSTopHitQuery
Added -[CSTopHitQuery initWithUserQueryString:queryContext:]