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


class INGetUserCurrentRestaurantReservationBookingsIntentResponse : INIntentResponse


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


Initializing the Response Object

Getting the Response Code

var code: INGetUserCurrentRestaurantReservationBookingsIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INGetUserCurrentRestaurantReservationBookingsIntentResponseCode

Constants indicating the state of the response.

Specifying the User’s Current Reservations

var userCurrentBookings: [INRestaurantReservationUserBooking]

An array of the user’s current reservations.


Inherits From

Conforms To

See Also

Get User Current Restaurant Reservation Bookings

protocol INGetUserCurrentRestaurantReservationBookingsIntentHandling

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

class INGetUserCurrentRestaurantReservationBookingsIntent

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