INSearchForMessagesIntentHandling
An interface that handles requests to search the current user’s messages.
Declaration
protocol INSearchForMessagesIntentHandling : NSObjectProtocolMentioned in
Overview
Use the methods of the INSearchForMessagesIntentHandling protocol to resolve, confirm, and handle requests to search the current user’s messages. Adopt this protocol in an object of your Intents extension capable of searching your app’s messages.
Siri delivers an INSearchForMessagesIntent object to your handler when the user asks to search their messages. The provided intent object contains the search parameters to use when matching messages. Use the methods of this protocol to resolve the search parameters, to perform the search, and to return the results.
Topics
Resolving the Intent Parameters
resolveRecipients(for:with:)resolveSenders(for:with:)resolveAttributes(for:with:)resolveDateTimeRange(for:with:)resolveSpeakableGroupNames(for:with:)resolveGroupNames(for:with:)