Share via


IINSendMessageIntentHandling.Confirm Method

Definition

Developers may override this method to customize the confirmation to send a message.

[Foundation.Export("confirmSendMessage:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INSendMessageIntent intent, Action<Intents.INSendMessageIntentResponse> completion);
[<Foundation.Export("confirmSendMessage:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INSendMessageIntent * Action<Intents.INSendMessageIntentResponse> -> unit
override this.Confirm : 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