Share via


IINSearchForMessagesIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation of a message search.

[Foundation.Export("confirmSearchForMessages:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INSearchForMessagesIntent intent, Action<Intents.INSearchForMessagesIntentResponse> completion);
[<Foundation.Export("confirmSearchForMessages:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INSearchForMessagesIntent * Action<Intents.INSearchForMessagesIntentResponse> -> unit
override this.Confirm : Intents.INSearchForMessagesIntent * Action<Intents.INSearchForMessagesIntentResponse> -> unit

Parameters

intent
INSearchForMessagesIntent

Specifies the user's intention.

completion
Action<INSearchForMessagesIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to