Contents

INSearchCallHistoryIntentResponse

Your app’s response to a search call history intent.

Declaration

class INSearchCallHistoryIntentResponse

Overview

Use an INSearchCallHistoryIntentResponse object to specify the results of searching the user’s call history. After performing a search using the criteria specified in the INSearchCallHistoryIntent object, create an instance of this class with the results of that search.

Your app is responsible for displaying the results of your search, so you must communicate the results to it. One way to communicate those results is through the NSUserActivity object that you create with your response. After creating that object, place the results in its userInfo dictionary.

You create an INSearchCallHistoryIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your search call history handler object. For more information about implementing your handler object, see INSearchCallHistoryIntentHandling.

Topics

Initializing the Response Object

Getting the Response Code

Providing the Search Results

See Also

Call History Search