INSearchForNotebookItemsIntent
A request to search for notes, tasks, and reminders.
Declaration
class INSearchForNotebookItemsIntentOverview
Siri creates an INSearchForNotebookItemsIntent object when the user asks to search for existing notes, tasks, and reminders. The intent object contains search parameters such as the type of items to return, strings to match against the title or content, the completion status of tasks, or the trigger conditions used to generate reminders.
To handle this intent, the handler object in your Intents extension must adopt the INSearchForNotebookItemsIntentHandling protocol. Your handler should confirm the request and create an INSearchForNotebookItemsIntentResponse object with the search results.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Siri Intents |
Always requires unlocked device | Yes |
Example Phrases
Users can ask Siri to search for notebook items 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 | Show me all my notes on | Show me what I created last week on |
zh_CN | 显示我所有的便笺(在 | 显示我上个星期所有新建立的(在 appName> 上) |
zh_HK | 顯示( | 顯示我上星期(喺 |
zh_TW | 顯示我所有的備忘錄(在 | 顯示我上週在 |
yue_CN | 显示( | 显示我上星期(喺 |
ar | اعرض جميع ملاحظاتي على | اعرض ما تم إنشاؤه الأسبوع الماضي على |
da | vis mig alle mine noter i | vis mig hvad blev oprettet i |
de | Zeige mir alle meine Notizen auf | Zeig mir die Notizen die ich letzte Woche in |
es | Enséñame todas mis notas en | Muéstrame lo que creé en |
fi | Näytä kaikki muistutukset apissa | Näytä viime viikolla apissa |
fr | Montre-moi toutes mes notes sur | Montre-moi ce que j’ai créé la semaine dernière sur |
he | תראי לי את כל הפתקים ב | תראי מה יצרתי שבוע שעבר ב |
it | Mostrami tutte le mie note su | Mostrami cosa ho creato la scorsa settimana su |
ja |
|
|
ko |
|
|
ms | Tunjukkan semua nota saya pada | Tunjukkan item yang diciptakan minggu lepas pada |
nb | Vis alle notatene mine i | Vis det jeg laget i forrige uke på |
nl | Toon me alle notities in | Toon wat ik vorige week aangemaakt heb op |
pt | Mostrar todas as minhas notas no | Mostre o que eu criei na semana passada no |
ru | Покажи все мои заметки в | Покажи мне что я создал на прошлой неделе в |
sv | Visa mig alla mina anteckningar i | Visa mig vad jag skapade förra veckan i |
th | แสดงโน้ตทั้งหมดบนแอพ | แสดงสิ่งที่ฉันสร้างอาทิตย์ที่แล้วในแอพ |
tr |
|
|
In the preceding examples, <appName> represents the name of the app whose Intents extension handles the request.
Topics
Initializing the Intent Object
init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:temporalEventTriggerTypes:taskPriority:notebookItemIdentifier:)init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:notebookItemIdentifier:)init(title:content:itemType:status:location:locationSearchType:dateTime:dateSearchType:)