INCreateNoteIntent

INCreateNoteIntent

INCreateNoteIntent Class of Intents A request to create a new note.

class INCreateNoteIntent

Overview

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.