Edytuj

Udostępnij za pośrednictwem


IINGetVisualCodeIntentHandling.HandleGetVisualCode Method

Definition

Developers must override this method and invoke the T:System.Action`1 with an INGetVisualCodeIntentResponse appropriate to the INGetVisualCodeIntent intent.

[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

Parameters

intent
INGetVisualCodeIntent

Specifies the user's intention.

completion
Action<INGetVisualCodeIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to