IINGetRestaurantGuestIntentHandling 接口

定义

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

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

属性

Handle

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

(继承自 INativeObject)

方法

HandleRestaurantGuest(INGetRestaurantGuestIntent, Action<INGetRestaurantGuestIntentResponse>)

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

扩展方法

ConfirmRestaurantGuest(IINGetRestaurantGuestIntentHandling, INGetRestaurantGuestIntent, Action<INGetRestaurantGuestIntentResponse>)

开发人员可以重写此方法,以自定义预订餐厅的来宾确认。

适用于