Class

INSearchForBillsIntentResponse

Your app’s response to a request to a search for bills.

Declaration

@interface INSearchForBillsIntentResponse : INIntentResponse

Overview

Use an INSearchForBillsIntentResponse object to return the list of bills found during a search operation. After performing a search using the criteria specified in an INSearchForBillsIntent 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 INSearchForBillsIntentResponse object in the confirmSearchForBills:completion: and handleSearchForBills:completion: methods of your search for bills handler object. For more information about implementing your handler object, see INSearchForBillsIntentHandling.

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.

INSearchForBillsIntentResponseCode

Constants indicating the state of the response.

Accessing the Search Results

bills

The bills found during the search.

Relationships

Inherits From

See Also

Search for Bills

INSearchForBillsIntentHandling

The handler interface for searching for bills associated with the user.

INSearchForBillsIntent

A request for the list of bills matching the specified criteria.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software