Class

INGetAvailableRestaurantReservationBookingsIntentResponse

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

Declaration

@interface INGetAvailableRestaurantReservationBookingsIntentResponse : INIntentResponse

Overview

An INGetAvailableRestaurantReservationBookingsIntentResponse object contains the reservation booking objects that represent the time slots available for making a reservation at the given restaurant. You create an instance of this class when confirming or handling an INGetAvailableRestaurantReservationBookingsIntent object, which contains the basic details you use to determine your response.

You create an INGetAvailableRestaurantReservationBookingsIntentResponse object in the confirmGetAvailableRestaurantReservationBookings:completion: and handleGetAvailableRestaurantReservationBookings:completion: methods of your handler object. For more information about implementing your handler object, see INGetAvailableRestaurantReservationBookingsIntentHandling.

Topics

Initializing the Response Object

- initWithAvailableBookings:code:userActivity:

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

Specifying the Reservation Results

availableBookings

An array of available time slots for the reservation.

Specifying Additional Information

localizedRestaurantDescriptionText

A localized, user-readable string containing a description of the restaurant.

localizedBookingAdvisementText

A localized, user-readable string containing policies and information related to the reservation.

termsAndConditions

The terms and conditions of using your company’s services.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INGetAvailableRestaurantReservationBookingsIntentCode

Constants indicating the state of the response.

Relationships

Inherits From

See Also

Get Available Restaurant Reservation Bookings

INGetAvailableRestaurantReservationBookingsIntentHandling

The handler interface for generating a list of potential reservation times from which the user can select.

INGetAvailableRestaurantReservationBookingsIntent

A request for the time slots available for making a reservation.