Class

INGetUserCurrentRestaurantReservationBookingsIntentResponse

Your app’s response to a get user current restaurant reservation bookings intent.

Declaration

@interface INGetUserCurrentRestaurantReservationBookingsIntentResponse : INIntentResponse

Overview

An INGetUserCurrentRestaurantReservationBookingsIntentResponse object contains the current reservations associated with the user and matching the search criteria in the corresponding INGetUserCurrentRestaurantReservationBookingsIntent object. You create instances of this class when confirming or handling an intent object of that type.

You create an INGetUserCurrentRestaurantReservationBookingsIntentResponse object in the confirmGetUserCurrentRestaurantReservationBookings:completion: and handleGetUserCurrentRestaurantReservationBookings:completion: methods of your handler object. For more information about implementing your handler object, see INGetUserCurrentRestaurantReservationBookingsIntentHandling.

Topics

Initializing the Response Object

- initWithUserCurrentBookings:code: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.

INGetUserCurrentRestaurantReservationBookingsIntentResponseCode

Constants indicating the state of the response.

Specifying the User’s Current Reservations

userCurrentBookings

An array of the user’s current reservations.

Relationships

Inherits From

See Also

Get User Current Restaurant Reservation Bookings

INGetUserCurrentRestaurantReservationBookingsIntentHandling

The handler interface for fetching and delivering the user’s current reservations.

INGetUserCurrentRestaurantReservationBookingsIntent

A request for the list of the user’s current reservations.