Protocol

INGetAvailableRestaurantReservationBookingsIntentHandling

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

Overview

Use the methods of the INGetAvailableRestaurantReservationBookingsIntentHandling protocol to resolve, confirm, and handle requests for an initial set of reservation times from which to select. The system delivers an INGetAvailableRestaurantReservationBookingsIntent object to your handler with information about the user’s party and preferred reservation time. Use that intent object to generate a list of potential reservation times from which the user can select.

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

Confirming the Response

Resolving the Intent Parameters

func resolveRestaurant(for: INGetAvailableRestaurantReservationBookingsIntent, completion: (INRestaurantResolutionResult) -> Void)

Called when it is time for you to resolve the restaurant to use when gathering reservation times.

func resolvePartySize(for: INGetAvailableRestaurantReservationBookingsIntent, completion: (INIntegerResolutionResult) -> Void)

Called when it is time for you to resolve the party size to use when generating the reservation times.

Relationships

Inherits From

See Also

Get Available Restaurant Reservation Bookings

class INGetAvailableRestaurantReservationBookingsIntent

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

class INGetAvailableRestaurantReservationBookingsIntentResponse

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