Share via


IINSendMessageIntentHandling.HandleSendMessage Method

Definition

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

Applies to