An interface that handles requests to delete tasks from a task list.
- iOS 13.0+
- Mac Catalyst 13.0+
- watchOS 6.0+
Use the methods of the
INDelete protocol to resolve, confirm, and handle requests to delete tasks from a task list. Adopt this protocol in an object of your Intents extension capable of handling the request directly or forwarding the request to your app or task management service.
Siri delivers an
INDelete object to your handler when the user asks to delete tasks from 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 delete the tasks.