The handler interface for fetching and delivering the user’s current reservations.


protocol INGetUserCurrentRestaurantReservationBookingsIntentHandling


Use the methods of the INGetUserCurrentRestaurantReservationBookingsIntentHandling protocol to resolve, confirm, and handle requests to get the reservations associated with the current user. The system delivers an INGetUserCurrentRestaurantReservationBookingsIntent object to your handler when the user’s reservations are needed. Use that intent object to determine whether to retrieve all of the user’s reservations or only some of them. Your Intents extension must be able to fetch the user’s reservations from your systems.

Maps does not require you to resolve or confirm the contents of a get user current 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.


Resolving the Intent Parameters

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

Called when it is time for you to resolve the restaurant to use when searching for reservations.


Inherits From

See Also

Get User Current Restaurant Reservation Bookings

class INGetUserCurrentRestaurantReservationBookingsIntent

A request for the list of the user’s current reservations.

class INGetUserCurrentRestaurantReservationBookingsIntentResponse

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