Class

INGetRestaurantGuestIntent

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

Overview

An INGetRestaurantGuestIntent object is a request for information about the person whose name should appear on reservations. Maps sends this intent to your Intents extension when it wants information about the person making reservations. Your response contains the identity of the person making the reservation. The response can also contain information about whether your service allows the identity of the guest to be modified. For example, you can specify whether your service allows one user to book reservations on behalf of another user.

To handle this intent, the handler object in your Intents extension must adopt the INGetRestaurantGuestIntentHandling protocol. Your handler should create an INGetRestaurantGuestIntentResponse object with information about the guest and your app’s preferences for modifying that guest’s identity.

Additional Intent Attributes

Table 1 lists additional attributes of this intent object.

Table 1

Get restaurant guest intent attributes

Attribute

Description

Supported by

Maps

Always requires unlocked device

Yes

Relationships

Inherits From

Conforms To

See Also

Get Restaurant Guest

protocol INGetRestaurantGuestIntentHandling

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

class INGetRestaurantGuestIntentResponse

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