IINSendMessageIntentHandling.HandleSendMessage 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 INSendMessageIntentResponse appropriate to the INSendMessageIntent intent.
[Foundation.Export("handleSendMessage:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleSendMessage(Intents.INSendMessageIntent intent, Action<Intents.INSendMessageIntentResponse> completion);
[<Foundation.Export("handleSendMessage:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleSendMessage : Intents.INSendMessageIntent * Action<Intents.INSendMessageIntentResponse> -> unit
override this.HandleSendMessage : Intents.INSendMessageIntent * Action<Intents.INSendMessageIntentResponse> -> unit
Parameters
- intent
- INSendMessageIntent
Specifies the user's intention.
- completion
- Action<INSendMessageIntentResponse>
Completion method that must be called by the override.
- Attributes