Share via


IINAddTasksIntentHandling.HandleAddTasks Method

Definition

Developers must override this method and invoke the Action<T> with an INAddTasksIntentResponse appropriate to the INAddTasksIntent intent.

[Foundation.Export("handleAddTasks:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleAddTasks(Intents.INAddTasksIntent intent, Action<Intents.INAddTasksIntentResponse> completion);
[<Foundation.Export("handleAddTasks:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleAddTasks : Intents.INAddTasksIntent * Action<Intents.INAddTasksIntentResponse> -> unit
override this.HandleAddTasks : 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