Protocol

INBookRestaurantReservationIntentHandling

The handler interface booking a reservation that the user selected.

Declaration

@protocol INBookRestaurantReservationIntentHandling

Overview

Use the methods of the INBookRestaurantReservationIntentHandling protocol to resolve, confirm, and handle requests to book a reservation based on the provided information. The system delivers an INBookRestaurantReservationIntent object to your handler with the reservation details, including the restaurant, date, party size, and any special offers selected by the user. Use that intent object to complete the reservation in your system and to communicate the reservation details to the restaurant itself.

Maps does not require you to resolve or confirm the contents of a get available restaurant reservation bookings intent before handling it. User interactions drive the selection of data in Maps, ensuring that the data Maps places into an intent object is already valid.

Topics

Resolving the Intent Parameters

- resolveRestaurantForBookRestaurantReservation:withCompletion:

Resolves the restaurant associated with the reservation.

- resolvePartySizeForBookRestaurantReservation:withCompletion:

Resolves the number of people in the user’s party.

- resolveGuestForBookRestaurantReservation:withCompletion:

Resolves the identity of the guest associated with the reservation.

- resolveGuestProvidedSpecialRequestTextForBookRestaurantReservation:withCompletion:

Resolves any special requests made in connection with the reservation.

Confirming the Response

- confirmBookRestaurantReservation:completion:

Confirms whether you can complete the reservation.

Handling the Intent

- handleBookRestaurantReservation:completion:

Handles completing the user’s reservation.

Required.

Relationships

Inherits From

See Also

Book Restaurant Reservation

INBookRestaurantReservationIntent

A request to create a reservation at the specified restaurant.

INBookRestaurantReservationIntentResponse

Your app’s response to a book restaurant reservation intent.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software