Protocol

INGetAvailableRestaurantReservationBookingDefaultsIntentHandling

Provides default values for the system to use when pre-fetching an initial set of possible reservation times.

Overview

Use the methods of the INGetAvailableRestaurantReservationBookingDefaultsIntentHandling protocol to resolve, confirm, and handle requests for default values for the system to use when pre-fetching reservation times. The system delivers an INGetAvailableRestaurantReservationBookingDefaultsIntent object to your handler before it asks your Intents extension for any initial reservation times. Use this intent object to provide a set of reasonable default values that are likely to yield good results when doing an initial search for available reservation times. For example, the default date provided by your handler should represent a date and time when the restaurant is open and has tables available to reserve.

Maps does not require you to resolve or confirm the contents of a get available restaurant reservation booking defaults 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

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

Called when it is time for you to resolve the restaurant for which you are providing default values.

Relationships

Inherits From

See Also

Get Available Restaurant Reservation Booking Defaults

class INGetAvailableRestaurantReservationBookingDefaultsIntent

Requests the default values to use when fetching potential reservation options.

class INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

Contains your app’s response to a get available restaurant reservation booking defaults intent.