Class

INGetAvailableRestaurantReservationBookingDefaultsIntent

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

Declaration

@interface INGetAvailableRestaurantReservationBookingDefaultsIntent : INIntent

Overview

An INGetAvailableRestaurantReservationBookingDefaultsIntent object asks you to provide the set of default options to use when fetching possible reservation times for the specified restaurant. Because restaurants may have different requirements for booking reservations, this intent lets you provide a set of reasonable default values that reflect any restaurant-specific requirements or user tendencies. For example, you use this intent to return the minimum or maximum party size supported by the restaurant.

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

Additional Intent Attributes

Table 1 lists additional attributes of this intent object.

Table 1

Get available restaurant reservation booking defaults intent attributes

Attribute

Description

Supported by

Maps

Always requires unlocked device

Yes

Topics

Initializing the Intent Object

- initWithRestaurant:

Initializes the intent object with the specified restaurant.

Accessing the Restaurant Details

restaurant

The restaurant to use when determining any default values.

Relationships

Inherits From

See Also

Get Available Restaurant Reservation Booking Defaults

INGetAvailableRestaurantReservationBookingDefaultsIntentHandling

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

INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

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