Share via


IINCreateTaskListIntentHandling.HandleCreateTaskList Method

Definition

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

[Foundation.Export("handleCreateTaskList:completion:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void HandleCreateTaskList(Intents.INCreateTaskListIntent intent, Action<Intents.INCreateTaskListIntentResponse> completion);
[<Foundation.Export("handleCreateTaskList:completion:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member HandleCreateTaskList : Intents.INCreateTaskListIntent * Action<Intents.INCreateTaskListIntentResponse> -> unit
override this.HandleCreateTaskList : Intents.INCreateTaskListIntent * Action<Intents.INCreateTaskListIntentResponse> -> unit

Parameters

intent
INCreateTaskListIntent

Specifies the user's intention.

completion
Action<INCreateTaskListIntentResponse>

Completion method that must be called by the override.

Attributes

Applies to