Share via


IINGetVisualCodeIntentHandling.Confirm Method

Definition

Developers may implement this method to confirm whether local and remote resources are ready and allowed to provide the code.

[Foundation.Export("confirmGetVisualCode:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INGetVisualCodeIntent intent, Action<Intents.INGetVisualCodeIntentResponse> completion);
[<Foundation.Export("confirmGetVisualCode:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INGetVisualCodeIntent * Action<Intents.INGetVisualCodeIntentResponse> -> unit
override this.Confirm : 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