Поделиться через


IINGetRestaurantGuestIntentHandling Интерфейс

Определение

Интерфейс, определяющий метод обработчика, который при реализации должен вызывать completion с INGetRestaurantGuestIntentResponse соответствующим .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>)

Разработчики должны переопределить этот метод и вызвать T:System.Action'1 с INGetRestaurantGuestIntentResponse соответствующим .INGetRestaurantGuestIntentintent

Методы расширения

ConfirmRestaurantGuest(IINGetRestaurantGuestIntentHandling, INGetRestaurantGuestIntent, Action<INGetRestaurantGuestIntentResponse>)

Разработчики могут переопределить этот метод, чтобы настроить подтверждение гостя для резервирования ресторана.

Применяется к