Your app’s response to a request to create a note.


class INCreateNoteIntentResponse : INIntentResponse


Use an INCreateNoteIntentResponse object to return information about the note that your app created. Siri communicates the information from your app’s response to the user at appropriate times.

You create an INCreateNoteIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your handler object. For more information about implementing your handler object, see INCreateNoteIntentHandling.


Initializing the Response Object

init(code: INCreateNoteIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INCreateNoteIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INCreateNoteIntentResponseCode

Constants indicating the state of the response.

Accessing the Note Content

var createdNote: INNote?

The details of the note that you created.


Inherits From

Conforms To

See Also

Create Note

protocol INCreateNoteIntentHandling

The handler interface for creating notes.

class INCreateNoteIntent

A request to create a new note.