Class

INGetAvailableRestaurantReservationBookingDefaultsIntent

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

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 results that were found.

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

init(restaurant: INRestaurant?)

Initializes the intent object with the specified restaurant.

Accessing the Restaurant Details

var restaurant: INRestaurant?

The restaurant to use when determining any default values.

Relationships

Inherits From

Conforms To

See Also

Get Available Restaurant Reservation Booking Defaults

protocol INGetAvailableRestaurantReservationBookingDefaultsIntentHandling

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

class INGetAvailableRestaurantReservationBookingDefaultsIntentResponse

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