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


IINGetVisualCodeIntentHandling.HandleGetVisualCode Метод

Определение

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

[Foundation.Export("handleGetVisualCode:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleGetVisualCode (Intents.INGetVisualCodeIntent intent, Action<Intents.INGetVisualCodeIntentResponse> completion);
abstract member HandleGetVisualCode : Intents.INGetVisualCodeIntent * Action<Intents.INGetVisualCodeIntentResponse> -> unit

Параметры

intent
INGetVisualCodeIntent

Указывает намерение пользователя.

completion
Action<INGetVisualCodeIntentResponse>

Метод завершения, который должен вызываться переопределением.

Атрибуты

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