Protocol

INSearchForAccountsIntentHandling

The handler interface for searching for account information.

Declaration

@protocol INSearchForAccountsIntentHandling

Overview

Use the methods of the INSearchForAccountsIntentHandling protocol to resolve, confirm, and handle requests to search for the user’s account information. Adopt this protocol in an object of your Intents extension that is capable of searching for accounts and returning account details such as the current balance.

Siri delivers an INSearchForAccountsIntent object to your handler when the user asks to search for accounts using your app. The provided intent object contains the parameters to use during the search. Use the methods of this protocol to resolve the parameters and perform the search.

Topics

Resolving the Intent Parameters

- resolveAccountNicknameForSearchForAccounts:withCompletion:

Resolves the account nickname to use during a search.

- resolveAccountTypeForSearchForAccounts:withCompletion:

Resolves the account type to look for in a search.

- resolveOrganizationNameForSearchForAccounts:withCompletion:

Resolves the organization name to use during a search.

- resolveRequestedBalanceTypeForSearchForAccounts:withCompletion:

Resolves the balance type to look for in a search.

Confirming the Response

- confirmSearchForAccounts:completion:

Confirms whether you can perform the search.

Handling the Intent

- handleSearchForAccounts:completion:

Handles searching for the account information.

Required.

Relationships

Inherits From

See Also

Search for Accounts

INSearchForAccountsIntent

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

INSearchForAccountsIntentResponse

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