INSearchForAccountsIntent

INSearchForAccountsIntent

INSearchForAccountsIntent Class of Intents A user request for information about their accounts in your app.

class INSearchForAccountsIntent

Overview

Siri creates an instance of INSearchForAccountsIntent when the user asks for information about accounts available in your app. Users can ask for information about monetary and nonmonetary accounts. For example, an airline app might allow the user to search for an account that manages their frequent flier miles. The user can ask for information such as a list of accounts or the balance of a specific account. Use the data the intent provides to find the user’s accounts and return the information the user requests.

To process the request, your handler must adopt the INSearchForAccountsIntentHandling protocol. When your implementation confirms the request, provide an instance of INSearchForAccountsIntentResponse that includes the accounts that meet the user’s critieria. If the search is successful, Siri offers the user a way to view the results.

INSearchForAccountsIntent is only available to Siri Intents and requires an unlocked device before processing. Siri performs the following actions automatically:

  • Requests the user’s confirmation before passing the request to your app or Intents extension for processing.
  • Asks the user to unlock a locked device.