The handler interface for providing default values to the system when pre-fetching an initial set of possible reservation times.


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.


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.


Inherits From

See Also

Get Available Restaurant Reservation Booking Defaults

class INGetAvailableRestaurantReservationBookingDefaultsIntent

A request for the default values to use when fetching potential reservation options.

class INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

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