SwiftprotocolSiriAutoCompleteAPI
SiriAutoCompleteService
protocol SiriAutoCompleteAPI.SiriAutoCompleteService
Members 9
- func
method descriptor for addPhrasesToVectorDB(vectorSearchAssets: SiriAutoCompleteAPI.VectorSearchAssets, deactivateWriteClientAfter: Bool) async -> Int - func
method descriptor for autoCompleteResults(for: String, using: String) async throws -> SiriAutoCompleteAPI.AutoCompleteResult - func
method descriptor for coolDownWriteDBClient() async -> () - func
method descriptor for deletePhrasesForApp(bundleIds: [String]) async -> Bool - func
method descriptor for deletePhrasesForSource(source: SiriAutoCompleteAPI.AutoCompletePhraseSource, deactivateWriteClientAfter: Bool) async -> () - func
method descriptor for dropDB() async throws -> () - func
method descriptor for fetchPhrasesMatching(filters: [VectorSearch.VectorDatabaseFilter]) async -> [SiriAutoCompleteAPI.AutoCompletePhrase] - func
method descriptor for increaseTapCountForPhrase(phrase: String) async -> () - func
method descriptor for insertPhrasesForAssistantSuggestions(phrases: [SiriAutoCompleteAPI.AutoCompletePhrase]) async -> ()
Header
protocol SiriAutoCompleteService { func addPhrasesToVectorDB(vectorSearchAssets: SiriAutoCompleteAPI.VectorSearchAssets, deactivateWriteClientAfter: Swift.Bool) async -> Swift.Int func autoCompleteResults(for: Swift.String, using: Swift.String) async throws -> SiriAutoCompleteAPI.AutoCompleteResult func insertPhrasesForAssistantSuggestions(phrases: [SiriAutoCompleteAPI.AutoCompletePhrase]) async func deletePhrasesForSource(source: SiriAutoCompleteAPI.AutoCompletePhraseSource, deactivateWriteClientAfter: Swift.Bool) async func deletePhrasesForApp(bundleIds: [Swift.String]) async -> Swift.Bool func increaseTapCountForPhrase(phrase: Swift.String) async func fetchPhrasesMatching(filters: [VectorSearch.VectorDatabaseFilter]) async -> [SiriAutoCompleteAPI.AutoCompletePhrase] func dropDB() async throws func coolDownWriteDBClient() async }