Package apple.intents.protocol
Interface INGetUserCurrentRestaurantReservationBookingsIntentHandling
-
public interface INGetUserCurrentRestaurantReservationBookingsIntentHandling
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceINGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_confirmGetUserCurrentRestaurantReservationBookingsCompletionstatic interfaceINGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_handleGetUserCurrentRestaurantReservationBookingsCompletionstatic interfaceINGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_resolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconfirmGetUserCurrentRestaurantReservationBookingsCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_confirmGetUserCurrentRestaurantReservationBookingsCompletion completion)Confirmation method - Validate that this intent is ready for the next step (i.e. handling) These methods are called prior to asking the app to handle the intent.voidhandleGetUserCurrentRestaurantReservationBookingsCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_handleGetUserCurrentRestaurantReservationBookingsCompletion completion)Handling method - Execute the task represented by the INGetUserCurrentRestaurantReservationBookingsIntent that's passed in 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 intentdefault voidresolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_resolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion completion)Resolution methods - Determine if this intent is ready for the next step (confirmation) These methods are called to make sure the app extension is capable of handling this intent in its current form.
-
-
-
Method Detail
-
confirmGetUserCurrentRestaurantReservationBookingsCompletion
default void confirmGetUserCurrentRestaurantReservationBookingsCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_confirmGetUserCurrentRestaurantReservationBookingsCompletion completion)
Confirmation method - Validate that this intent is ready for the next step (i.e. handling) 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.- Parameters:
intent- The input intentcompletion- The response block contains an INGetUserCurrentRestaurantReservationBookingsIntentResponse containing additional details about the intent that may be relevant for the system to show the user prior to handling.- See Also:
INGetUserCurrentRestaurantReservationBookingsIntentResponse
-
handleGetUserCurrentRestaurantReservationBookingsCompletion
void handleGetUserCurrentRestaurantReservationBookingsCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_handleGetUserCurrentRestaurantReservationBookingsCompletion completion)
Handling method - Execute the task represented by the INGetUserCurrentRestaurantReservationBookingsIntent that's passed in 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- Parameters:
intent- The input intentcompletion- The response handling block to invoke with the response to handling the intent.- See Also:
INGetUserCurrentRestaurantReservationBookingsIntentResponse
-
resolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion
default void resolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion(INGetUserCurrentRestaurantReservationBookingsIntent intent, INGetUserCurrentRestaurantReservationBookingsIntentHandling.Block_resolveRestaurantForGetUserCurrentRestaurantReservationBookingsWithCompletion completion)
Resolution methods - Determine if this intent is ready for the next step (confirmation) These methods are called to make sure the app extension is capable of handling this intent in its current form. This method is for validating if the intent needs any further fleshing out.- Parameters:
intent- The input intentcompletion- The response block contains an INIntentResolutionResult for the parameter being resolved- See Also:
INGetUserCurrentRestaurantReservationBookingsIntentResponse
-
-