Share via


IINSearchForMessagesIntentHandling.HandleSearchForMessages Method

Definition

Developers must override this method and invoke the Action<T> with an INSearchForMessagesIntentResponse appropriate to the INSearchForMessagesIntent intent.

[Foundation.Export("handleSearchForMessages:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleSearchForMessages(Intents.INSearchForMessagesIntent intent, Action<Intents.INSearchForMessagesIntentResponse> completion);
[<Foundation.Export("handleSearchForMessages:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleSearchForMessages : Intents.INSearchForMessagesIntent * Action<Intents.INSearchForMessagesIntentResponse> -> unit
override this.HandleSearchForMessages : 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