編輯

共用方式為


IINBookRestaurantReservationIntentHandling Interface

Definition

Interface defining handler method that, when implemented, must call completion with an INBookRestaurantReservationIntentResponse appropriate to arg.

[Foundation.Protocol(Name="INBookRestaurantReservationIntentHandling", WrapperType=typeof(Intents.INBookRestaurantReservationIntentHandlingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IINBookRestaurantReservationIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINBookRestaurantReservationIntentHandling = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

HandleBookRestaurantReservation(INBookRestaurantReservationIntent, Action<INBookRestaurantReservationIntentResponse>)

Developers must override this method and invoke the T:System.Action`1 with an INBookRestaurantReservationIntentResponse appropriate to the INBookRestaurantReservationIntent intent.

Extension Methods

ConfirmBookRestaurantReservation(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INBookRestaurantReservationIntentResponse>)

Developers may override this method to customize the confirmation of a restaurant reservation.

ResolveBookingDate(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INDateComponentsResolutionResult>)

Developers may override this method to customize the resolution of the reservation date.

ResolveGuest(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INRestaurantGuestResolutionResult>)

Developers may override this method to customize the resolution of a guest in the reservation.

ResolveGuestProvidedSpecialRequest(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INStringResolutionResult>)

Developers may override this method to customize the resolution of whether a guest has made a special request as part of the reservation.

ResolvePartySize(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INIntegerResolutionResult>)

Developers may override this method to customize the resolution of the number of guests in the booking.

ResolveRestaurant(IINBookRestaurantReservationIntentHandling, INBookRestaurantReservationIntent, Action<INRestaurantResolutionResult>)

Developers may override this method to customize the resolution of the restaurant at which the booking will be made.

Applies to