INCreateNoteIntent
A request to create a new note.
Declaration
class INCreateNoteIntentOverview
Siri creates an INCreateNoteIntent object when the user asks to create a new note. (If the user asks to add a task and none of your Intents app extensions declare support for the INAddTasksIntent class, SiriKit uses this intent as a substitute). The intent object contains the content of the note and possibly additional information, such as the name of the folder in which to create the note.
To handle this intent, the handler object in your Intents extension must adopt the INCreateNoteIntentHandling protocol. Your handler should confirm the request and create an INCreateNoteIntentResponse object with the updated note.
Additional Intent Attributes
The following table lists additional attributes of this intent object:
Attribute | Description |
|---|---|
Supported by | Siri Intents, Siri Suggestions |
Always requires unlocked device | No |
Example Phrases
Users can ask Siri to create notes 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 is not exhaustive and Siri may recognize many other phrases.
Locale | Example 1 | Example 2 |
|---|---|---|
en | Create a note called Vacation saying I love Montreal on | Make a note in my Puppies folder called St. Bernards. |
zh_Cn | 创建一个叫做度假的便笺说我爱 蒙特利尔(在 | 在我的名字叫做小狗的文件夹里创建一个 便笺叫做圣伯纳犬 |
zh_HK | (喺 | 喺我嘅狗仔資料夾入面新增一個叫做聖班納犬嘅備忘錄 |
zh_TW | 新增一個叫做假期的備忘錄說我愛蒙特婁(在 | 在我的小狗檔案夾裡面新增一個叫做聖伯納犬的備忘錄 |
yue_CN | (喺 | 喺我嘅狗仔资料夹入面新增一个叫做圣班纳犬嘅备忘录 |
ar | أنشئ ملاحظة تحت عنوان العطلة تقول أنا أحب مونتريال (على | أنشئ ملاحظة في مجلد الجراء تحت عنوان برنارد |
da | opret en note med titlen Ferie hvor der står Jeg elsker Montreal (i | opret en note i min hundehvalpmappe med titlen St. Bernhards |
de | Erstelle eine Notiz auf mit Namen Urlaub und Inhalt Ich liebe München | Erstelle eine Notiz (auf |
es | Crea una nota llamada Vacaciones que diga me gusta Montreal (en appName>) | Escribe una nota llamada San Bernardos en mi carpeta Cachorros |
fi | Luo muistio nimeltä Loma, jossa sanotaan rakastan Pariisia (apissa | Lisää kansioon nimeltä Pennut muistiinpano Bernhardinkoiria |
fr | Créer une note nommée Vacances disant J’aime Montréal (sur | Écris une note nommée Saint-Bernard dans mon dossier Animaux de compagnie |
he | תצרי פתק שנקרא חופשה שאומר אני אוהב את מונטריאול (ב | תעשי פתק בתיקיית גורים שלי שנקרא סנט ברנרד |
it | Crea una nota chiamata Vacanze dicendo mi piace Montreal (su | Crea una nota nella mia cartella Cagnolini chiamata San Bernardi |
ja | ( | 子犬フォルダにセントバーナードというメモを作って |
ko | ( | 강아지 폴더에 세인트 버나드라는 이름의 노트 생성해줘 |
ms | Cipta satu nota dinamakan Cuti katakan saya suka Montreal (pada | Catat nota dalam folder Anak anjing saya bertajuk St. Bernards |
nb | Lag et notat som heter Ferie hvor det står Jeg elsker Montreal (i | Lag et notat i Valper mappen som heter St. Bernards |
nl | Maak een notitie genaamd vakantie waarin staat ik hou van Montreal (in | Maak een notitie in mijn puppies-map genaamd Sint-Bernard |
pt | Criar uma nota chamada Férias dizendo Eu amo Nova Iorque (no | Crie uma nota na minha pasta Cachorros chamada Pastor Alemão |
ru | Создать заметку под названием Каникулы в которой говорится я люблю Монреаль (в | Сделай заметку Сен-Бернар в моей папке Щенки |
sv | Skapa en anteckning som heter Semester där det står jag älskar Montreal (i | Skapa en anteckning i min valpmapp som heter Sankt Bernard |
th | สร้างโน้ตชื่อว่าพักร้อนเขียนว่าฉันอยากไปพัทยา (บนแอพ | สร้างโน้ตในโฟลเดอร์สถานที่ท่องเที่ยวเขียนว่าเชียงใหม่ |
tr | ( | Not al Paris’te görülecek yerler |
In the preceding examples, <appName> represents the name of the app whose Intents extension handles the request.