Düzenle

Aracılığıyla paylaş


IINSendMessageIntentHandling.HandleSendMessage Method

Definition

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

[Foundation.Export("handleSendMessage:completion:")]
[Foundation.Preserve(Conditional=true)]
public void HandleSendMessage (Intents.INSendMessageIntent intent, Action<Intents.INSendMessageIntentResponse> completion);
abstract member 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