IINAddTasksIntentHandling.HandleAddTasks Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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