Class

INSearchForAccountsIntentResponse

Your app’s response to a request to search for account information.

Declaration

@interface INSearchForAccountsIntentResponse : INIntentResponse

Overview

Use an INSearchForAccountsIntentResponse object to return the account information found during a search operation. After performing a search using the criteria specified in an INSearchForAccountsIntent object, create an instance of this class and fill it with the results of that search. Siri communicates the information from your response to the user at appropriate times.

You create an INSearchForAccountsIntentResponse object in the confirmSearchForAccounts:completion: and handleSearchForAccounts:completion: methods of your handler object. For more information about implementing your handler object, see INSearchForAccountsIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INSearchForAccountsIntentResponseCode

Constants indicating the state of the response.

Providing the Search Results

accounts

The accounts found during the search.

Relationships

Inherits From

See Also

Search for Accounts

INSearchForAccountsIntentHandling

The handler interface for searching for account information.

INSearchForAccountsIntent

A request for information about the user’s accounts in your app.