IINGetAvailableRestaurantReservationBookingsIntentHandling 接口

定义

接口定义处理程序方法,实现时,必须使用completionINGetAvailableRestaurantReservationBookingsIntentResponse适当的 调用 。arg

[Foundation.Protocol(Name="INGetAvailableRestaurantReservationBookingsIntentHandling", WrapperType=typeof(Intents.INGetAvailableRestaurantReservationBookingsIntentHandlingWrapper))]
[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 IINGetAvailableRestaurantReservationBookingsIntentHandling : IDisposable, ObjCRuntime.INativeObject
type IINGetAvailableRestaurantReservationBookingsIntentHandling = interface
    interface INativeObject
    interface IDisposable
属性
实现

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

方法

HandleAvailableRestaurantReservationBookings(INGetAvailableRestaurantReservationBookingsIntent, Action<INGetAvailableRestaurantReservationBookingsIntentResponse>)

开发人员必须重写此方法,并使用 相应的 INGetAvailableRestaurantReservationBookingsIntentintent调用 T:System.Action'1INGetAvailableRestaurantReservationBookingsIntentResponse

扩展方法

ConfirmAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INGetAvailableRestaurantReservationBookingsIntentResponse>)

开发人员可以重写此方法,以自定义开发人员的应用可以提供可用预留的确认。

ResolveAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INRestaurantResolutionResult>)

开发人员可以替代此方法,以自定义餐厅的分辨率,以收集可用预留。

ResolvePartySizeAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INIntegerResolutionResult>)

开发人员可以重写此方法,以自定义预订中来宾数的分辨率。

ResolvePreferredBookingDateAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INDateComponentsResolutionResult>)

开发人员可以重写此方法,以自定义预留的首选日期的解析。

适用于