Contents

INGetUserCurrentRestaurantReservationBookingsIntent

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

Declaration

class INGetUserCurrentRestaurantReservationBookingsIntent

Overview

An INGetUserCurrentRestaurantReservationBookingsIntent object asks you to retrieve the current restaurant reservations associated with the user. Maps sends this intent to your Intents extension when it needs information about all of the user’s current reservations, or when it needs information about one or more specific reservations. Use the properties of this object to determine which reservations to return.

When searching for reservations, use the reservationIdentifier properties to fetch only the specified reservation, or use the restaurant property to fetch pending reservations only at the specified restaurant. If both of those properties are nil, retrieve all of the user’s currently pending reservations. After fetching the appropriate set of reservations, use the maximumNumberOfResults and earliestBookingDateForResults properties to limit the set of results you return as part of your response.

To handle this intent, the handler object in your Intents extension must adopt the INGetUserCurrentRestaurantReservationBookingsIntentHandling protocol. Your handler should resolve and confirm any parameters and create an INGetUserCurrentRestaurantReservationBookingsIntentResponse object using the found results.

Additional Intent Attributes

The following table lists additional attributes of this intent object:

Attribute

Description

Supported by

Maps

Always requires unlocked device

Yes

Topics

Initializing the Intent Object

Getting the Search Parameters

Getting the Result Limits

See Also

Get User Current Restaurant Reservation Bookings