共用方式為


IINGetAvailableRestaurantReservationBookingsIntentHandling 介面

定義

定義處理常式方法的介面,實作時,必須使用 適當的 來 arg 呼叫 INGetAvailableRestaurantReservationBookingsIntentResponsecompletion

[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

處理 unmanaged 物件標記法) (指標。

(繼承來源 INativeObject)

方法

HandleAvailableRestaurantReservationBookings(INGetAvailableRestaurantReservationBookingsIntent, Action<INGetAvailableRestaurantReservationBookingsIntentResponse>)

開發人員必須覆寫這個方法,並使用 適當的 INGetAvailableRestaurantReservationBookingsIntent 來叫用 INGetAvailableRestaurantReservationBookingsIntentResponse T:System.Action'1intent

擴充方法

ConfirmAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INGetAvailableRestaurantReservationBookingsIntentResponse>)

開發人員可以覆寫此方法,以自訂開發人員應用程式可以提供可用保留的確認。

ResolveAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INRestaurantResolutionResult>)

開發人員可以覆寫此方法,以自訂餐廳的解析度,以收集可用的預約。

ResolvePartySizeAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INIntegerResolutionResult>)

開發人員可能會覆寫此方法,以自訂保留中的來賓數目解析。

ResolvePreferredBookingDateAvailableRestaurantReservationBookings(IINGetAvailableRestaurantReservationBookingsIntentHandling, INGetAvailableRestaurantReservationBookingsIntent, Action<INDateComponentsResolutionResult>)

開發人員可能會覆寫此方法,以自訂保留的慣用日期解析。

適用於