Share via


IINAddTasksIntentHandling.Confirm Method

Definition

Developers may implement this method to confirm whether local and remote resources are ready to add the task.

[Foundation.Export("confirmAddTasks:completion:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Confirm(Intents.INAddTasksIntent intent, Action<Intents.INAddTasksIntentResponse> completion);
[<Foundation.Export("confirmAddTasks:completion:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Confirm : Intents.INAddTasksIntent * Action<Intents.INAddTasksIntentResponse> -> unit
override this.Confirm : Intents.INAddTasksIntent * Action<Intents.INAddTasksIntentResponse> -> unit

Parameters

intent
INAddTasksIntent

Specifies the user's intention.

completion
Action<INAddTasksIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to