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


class INSearchForBillsIntentResponse : INIntentResponse


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 confirm(intent:completion:) and handle(intent:completion:) methods of your search for bills handler object. For more information about implementing your handler object, see INSearchForBillsIntentHandling.


Initializing the Response Object

init(code: INSearchForBillsIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSearchForBillsIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSearchForBillsIntentResponseCode

Constants indicating the state of the response.

Accessing the Search Results

var bills: [INBillDetails]?

The bills found during the search.


Inherits From

Conforms To

See Also

Search for Bills

protocol INSearchForBillsIntentHandling

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

class INSearchForBillsIntent

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