public interface INGetRestaurantGuestIntentHandling
| Modifier and Type | Interface and Description |
|---|---|
static interface |
INGetRestaurantGuestIntentHandling.Block_confirmGetRestaurantGuestCompletion |
static interface |
INGetRestaurantGuestIntentHandling.Block_handleGetRestaurantGuestCompletion |
| Modifier and Type | Method and Description |
|---|---|
default void |
confirmGetRestaurantGuestCompletion(INGetRestaurantGuestIntent guestIntent,
INGetRestaurantGuestIntentHandling.Block_confirmGetRestaurantGuestCompletion completion)
Confirmation method - Validate that this intent is ready for the next step (i.e.
|
void |
handleGetRestaurantGuestCompletion(INGetRestaurantGuestIntent intent,
INGetRestaurantGuestIntentHandling.Block_handleGetRestaurantGuestCompletion completion)
Handling method - Execute the task represented by the INGetRestaurantGuestIntent that's passed in
|
default void confirmGetRestaurantGuestCompletion(INGetRestaurantGuestIntent guestIntent, INGetRestaurantGuestIntentHandling.Block_confirmGetRestaurantGuestCompletion completion)
These methods are called prior to asking the app to handle the intent. The app should return a response object that contains additional information about the intent, which may be relevant for the system to show the user prior to handling. If unimplemented, the system will assume the intent is valid following resolution, and will assume there is no additional information relevant to this intent.
guestIntent - The input intentcompletion - The response block contains an INGetRestaurantGuestIntentResponse containing additional details about the intent that may be relevant for the system to show the user prior to handling.INGetRestaurantGuestIntentResponsevoid handleGetRestaurantGuestCompletion(INGetRestaurantGuestIntent intent, INGetRestaurantGuestIntentHandling.Block_handleGetRestaurantGuestCompletion completion)
This method is called to actually execute the intent, the app must return a response for this intent and an NSUserActivity capturing the state that the app must be restored to at the end of handling this intent
intent - The input intentcompletion - The response handling block to invoke with the response to handling the intent.INGetRestaurantGuestIntentResponse