INDeleteTasksIntent
A request to delete one or more tasks.
Declaration
class INDeleteTasksIntentOverview
Siri creates an INDeleteTasksIntent object when the user marks one or more tasks for deletion. The intent object can contain the task information.
To handle this intent, the handler object in your Intents extension must adopt the INDeleteTasksIntentHandling protocol. Your handler should confirm the request and create an INDeleteTasksIntentResponse object with the updated task information.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Siri Intents |
Always requires unlocked device | No |
Example Phrases
Users can ask Siri to delete tasks in a variety of ways. The table below provides a few sample phrases in different languages. You can use these phrases during testing to trigger your intents. This list isn’t exhaustive and Siri may recognize many other phrases.
Locale | Example 1 | Example 2 |
|---|---|---|
en | Remove my buy milk reminder | Delete all my reminders |
zh_CN | 删除买牛奶的提醒事项 | 删除全部提醒事项 |
zh_HK | 刪除買牛奶嘅提醒事項 | 刪除全部提醒事項 |
zh_TW | 刪除買牛奶的提醒事項 | 刪除所有提醒事項 |
yue_CN | 删除买牛奶嘅提醒事项 | 删除全部提醒事项 |
ar | مسح تذكير شراء الحليب | مسح جميع التذكيرات |
da | Fjern min køb mælk påmindelse | Slet alle mine påmindelser |
de | Entferne meine Milch kaufen Erinnerung | Lösche alle meine Erinnerungen |
es | Elimina mi recordatorio comprar leche | Elimina todos mis recordatorios |
fi | Poista muistutus osta maitoa | Poista kaikki muistutukset |
fr | Efface mon rappel pour acheter du lait | Supprime tous mes rappels |
he | תמחק את התזכורת לקנות חלב | תמחקי את כל התזכורות שלי |
it | Rimuovi il promemoria comprare il latte | Elimina tutti i miei promemoria |
ja | 牛乳を買うというリマインダーを削除して | リマインダーを全部削除して |
ko | 우유 사기 미리 알림 지워 | 모든 미리 알림 삭제해 |
ms | Padamkan peringatan beli susu saya | Padamkan semua peringatan saya |
nb | Fjern min kjøpe melk påminnelse | Slett alle påminnelsene mine |
nl | Verwijder melk kopen herinnering | Wis al mijn herinneringen |
pt | Remova o lembrete comprar leite | Remover todos os meus lembretes |
ru | Удали моё напоминание купить молоко | Удали все мои напоминания |
sv | Ta bort min köp mjölk påminnelse | Radera alla mina påminnelser |
th | ลบเตือนความจำซื้อนม | ลบเตือนความจำทั้งหมด |
tr | Süt al anımsatıcımı kaldır | Tüm hatırlatmalarımı sil |
In the preceding examples, <appName> represents the name of the app whose Intents extension handles the request.