Class

INGetUserCurrentRestaurantReservationBookingsIntentResponse

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

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

Topics

Initializing the Response Object

Getting the Response Code

var code: INGetUserCurrentRestaurantReservationBookingsIntentResponseCode

The code indicating whether you successfully handled the intent.

Specifying the User’s Current Reservations

var userCurrentBookings: [INRestaurantReservationUserBooking]

An array of the user’s current reservations.

Constants

enum INGetUserCurrentRestaurantReservationBookingsIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

Conforms To

See Also

Get User Current Restaurant Reservation Bookings

protocol INGetUserCurrentRestaurantReservationBookingsIntentHandling

Fetches and delivers the user’s current reservations.

class INGetUserCurrentRestaurantReservationBookingsIntent

Requests a list of the user’s current reservations.