The handler interface for searching the user’s call history.
- iOS 10.0+
- UIKit for Mac 13.0+Beta
- watchOS 3.2+
Use the methods of the
INSearch protocol to resolve, confirm, and handle requests to search for calls in the user’s call history. Adopt this protocol in an object of your Intents extension that is capable of performing the search and finding any matching records. Siri does not display the call information found during the search. After a successful search, Siri launches your app to display that information.
Siri delivers an
INSearch object to your handler when the user asks to search their call history. The provided intent object contains the search parameters, such as any contacts involved in the call or the range of dates to search. Use the methods of this protocol to resolve the search parameters and to perform the search.