Contents

INSearchCallHistoryIntent

A request to list the calls matching the specified criteria.

Declaration

class INSearchCallHistoryIntent

Overview

SiriKit creates INSearchCallHistoryIntent objects when the user asks to see previous calls from their call history. This intent object contains the values for you to match when searching the user’s call history. Users can search for calls involving a specific person, calls that occurred on specific dates, or calls that are of a specific type such as missed calls. When performing the search, use only the parameters provided and ignore any that have no values.

To handle this intent, the handler object in your Intents extension must adopt the INSearchCallHistoryIntentHandling protocol. Your handler confirms the request and creates an INSearchCallHistoryIntentResponse object with the results of the search. For successful searches, Siri offers the user a way to launch your app and see the results.

Additional Intent Attributes

The following table lists additional attributes of this intent object:

Attribute

Description

Supported by

Siri Intents

Always requires unlocked device

Yes

Topics

Initializing the Intent Object

Getting the Recipient

Getting the Call History Details

Initializers

Default Implementations

See Also

Call History Search