The handler interface for adding tasks to a task list.
- iOS 11.0+
- UIKit for Mac 13.0+Beta
- watchOS 4.0+
Use the methods of the
INAdd protocol to resolve, confirm, and handle requests to add tasks to a task list. Adopt this protocol in an object of your Intents extension that’s capable of handling the request directly or forwarding the request to your app or task management service.
Siri delivers an
INAdd object to your handler when the user asks to add tasks to a task list in your app. The provided intent object contains descriptions of the tasks and any triggers to associate with each task. Use the methods of this protocol to resolve the parameters and add the tasks.