IINSearchForMessagesIntentHandling.HandleSearchForMessages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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