Class

INGetRestaurantGuestIntentResponse

Your app’s response to a get restaurant guest intent.

Declaration

@interface INGetRestaurantGuestIntentResponse : INIntentResponse

Overview

An INGetRestaurantGuestIntentResponse object contains the information about the current user along with preferences about whether to associate that user with any new reservations. You create this response when handling or confirming an INGetUserCurrentRestaurantReservationBookingsIntent object. Your response should contain information about the current user and information about how to display that user’s information in the interface used to make reservations.

You create an INGetRestaurantGuestIntentResponse object in the confirmGetRestaurantGuest:completion: and handleGetRestaurantGuest:completion: methods of handler object. For more information about implementing your handler object, see INGetRestaurantGuestIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INGetRestaurantGuestIntentResponseCode

Constants indicating the state of the response.

Specifying the Response Details

guest

The identity of the person making the reservation.

guestDisplayPreferences

The options for specifying how you want guest information conveyed to the user.

Relationships

Inherits From

See Also

Get Restaurant Guest

INGetRestaurantGuestIntentHandling

The handler interface for fetching information about the person making a reservation.

INGetRestaurantGuestIntent

A request for information about the guest who is making reservations.