Class

INAppendToNoteIntent

A request to append content to a note.

Declaration

class INAppendToNoteIntent : INIntent

Overview

Siri creates an INAppendToNoteIntent object when the user asks to append content to an existing note. The intent object contains the note to modify and the content to add to the note.

To handle this intent, the handler object in your Intents extension must adopt the INAppendToNoteIntentHandling protocol. Your handler should confirm the request and create an INAppendToNoteIntentResponse object with the updated note.

Additional Intent Attributes

Table 1 lists additional attributes of this intent object.

Table 1

Append to note intent attributes

Attribute

Description

Supported by

Siri Intents

Always requires unlocked device

No

If the resolution for any parameter requires disambiguation or confirmation, the user must unlock the device before you handle the intent. If resolution of the parameters doesn’t require user interaction, you can handle the intent without the user unlocking the device.

Example Phrases

Users can ask Siri to append information to notes in a variety of ways. Table 2 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.

Table 2

Siri phrases that trigger the appending of content to a note

Locale

Example 1

Example 2

en

Add Paris to my note called Summer 2018 on <appName>

On <appName>, add read Infinite Jest to my Book Club note

zh_CN

在我的叫做夏日2018的便笺里面添加巴黎(在 <appName>上)

添加读无尽的玩笑到我的读书俱乐部便笺

zh_HK

喺(<appName>上嘅)夏季2018備忘錄入面添加巴黎

喺 <appName> 上嘅讀書俱樂部備忘錄入面新增閱讀無盡的玩笑

zh_TW

新增巴黎到我叫做夏季2018的備忘錄(在 <appName> 上)

在 <appName>上, 新增閱讀無盡的玩笑到我的讀書俱樂部備忘錄

yue_CN

喺(<appName> 上嘅)夏季2018备忘录入面添加巴黎

喺 <appName> 上嘅读书具乐部备忘录入面新增阅读无尽的玩笑

ar

أضف باريس إلى ملاحظتي تحت عنوان صيف 2018 على <appName>

على <appName>، أضف قراءة الذكاء العاطفي الى ملاحظة مجموعة الكتب

da

tilføj Paris til min note kaldet Sommer 2018 (i <appName>)

i <appName> tilføj læs Infinite Jest til min bogkub note

de

Füge Paris zu meiner Notiz Sommer 2018 auf <appName> hinzu

Auf <appName> füge Infinite Jest zu meiner Buchclub-Notiz hinzu

es

Añade París a mi lista Verano 2018 en <appName>

En <appName>, añade leer Infinite Jest a mi lista club de lectura

fi

Lisää Pariisi muistiinpanooni nimeltä kesä 2018 apissa <appName>

Lisää apissa <appName> listaan kirjakerho lue Punainen durra

fr

Ajoute Paris à ma note nommée Été 2018 sur <appName>

Sur <appName>, ajoute lire Le Petit Prince à ma note Club de lecture

he

ב<appName> , תוסיפי לקרוא אינפיניט ג׳סט לפתק מועדון הספרים שלי

תסמני ניקוי יבש כהושלם ב<appName>

it

Aggiungi Parigi alla mia nota chiamata Estate 2018 su <appName>

Su <appName>, aggiungi leggere Infinite Jest alla mia nota club libri

ja

<appName> で2018年夏というメモにパリを追加

<appName> で読書会のノートに吾輩は猫であるを読むとメモして

ko

<appName> 에서 2018 여름이라는 노트에 파리 추가해줘

<appName> 에 있는 나의 북클럽 노트에 Infinite Jest 추가해줘

ms

Tambahkan Paris ke nota saya bertajuk Musim Panas 2018 pada <appName>

Dalam <appName>, tambahkan Infinite Jest ke nota Kelab Buku saya

nb

Legg til Paris i notatet Sommeren 2018 i <appName>

I <appName>, legg til les Infinite Jest i bokklubb-notatet

nl

Voeg Parijs toe aan mijn notitie genaamd Zomer 2018 in <appName>

Op <appName>, voeg lees Infinite Jest toe aan mijn Boekclub notitie

pt

Adicione Paris à minha nota chamada Verão 2018 no <appName>

No <appName>, adicione Ler O Alquimista à minha nota Clube do Livro

ru

Добавь Париж в мою заметку с названием Лето 2018 в <appName>

В <appName> добавь прочитать Бесконечную шутку в мою заметку Книжный Клуб

sv

Lägg till Paris till anteckningen Sommar 2018 i <appName>

I <appName> lägg till läs Infinite Jest i min bokklubbsanteckning

th

เพิ่มปารีสไปที่โน้ตของฉันที่ชื่อว่าพักร้อน 2018 บนแอพ <appName>

เพิ่มอ่านเรื่องน้ำพุไปที่โน้ตอ่านหนังสือของฉันบนแอพ <appName>

tr

<appName> yaz tatili listeme Paris ekle

<appName> 'de kitap kulübü notuma nutuk okumayı ekle

In Table 2, <appName> represents the name of the app whose Intents extension handles the request.

Topics

Initializing the Intent Object

init(targetNote: INNote?, content: INNoteContent?)

Initializes the intent object with the specified note and content.

Getting the Note Content

var content: INNoteContent?

The content to append to the note.

var targetNote: INNote?

The note to receive the additional content.

Relationships

Inherits From

Conforms To

See Also

Append to Note

protocol INAppendToNoteIntentHandling

The handler interface for appending content to a note.

class INAppendToNoteIntentResponse

Your app’s response to a request to append content to a note.