public interface INBookRestaurantReservationIntentHandling
default void confirmBookRestaurantReservationCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_confirmBookRestaurantReservationCompletion 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.
intent - The input intentcompletion - The response block contains an INBookRestaurantReservationIntentResponse containing additional details about the intent that may be relevant for the system to show the user prior to handling.INEndWorkoutIntentResponsevoid handleBookRestaurantReservationCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_handleBookRestaurantReservationCompletion 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.INBookRestaurantReservationIntentResponsedefault void resolveBookingDateComponentsForBookRestaurantReservationWithCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_resolveBookingDateComponentsForBookRestaurantReservationWithCompletion completion)
default void resolveGuestForBookRestaurantReservationWithCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_resolveGuestForBookRestaurantReservationWithCompletion completion)
default void resolveGuestProvidedSpecialRequestTextForBookRestaurantReservationWithCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_resolveGuestProvidedSpecialRequestTextForBookRestaurantReservationWithCompletion completion)
default void resolvePartySizeForBookRestaurantReservationWithCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_resolvePartySizeForBookRestaurantReservationWithCompletion completion)
default void resolveRestaurantForBookRestaurantReservationWithCompletion(INBookRestaurantReservationIntent intent, INBookRestaurantReservationIntentHandling.Block_resolveRestaurantForBookRestaurantReservationWithCompletion completion)
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.
intent - The input intentcompletion - The response block contains an INIntentResolutionResult for the parameter being resolvedINIntentResolutionResult