IINSearchForMessagesIntentHandling.HandleSearchForMessages Method

Definition

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

[Foundation.Export("handleSearchForMessages:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleSearchForMessages (Intents.INSearchForMessagesIntent intent, Action<Intents.INSearchForMessagesIntentResponse> completion);
abstract member 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